hi,
i have a file
file1 file2
----------- -----------------
aa bbb ccc 111 1111 1111
ddd eee fff 222 3333 4444
ggg hhh iiii 555 6666 777
i select the portion of file1 as
sed -n '/aa/,/fff/p' file1 ,, this select first two lines of file1,
now i need to append these lines to the middle of file2 ie between line1 and line2
Please help me