Hi
I want to join all the lines of two different files in order. ie.,1st line of the file1 will be joined to the first line of the file2 and second line of the file1 to second line of the file2 and vice versa, the ouput has to be moved to another file.
For this Tony sent me a very usefull reply:
#!/bin/sh
cat /tmp/a | sed -n '1p' >> d
cat /tmp/b | sed -n '1p' >> d
where a, b and d are files
Please help me to convert this script in to the entire file.
Thanks
Siva
I want to join all the lines of two different files in order. ie.,1st line of the file1 will be joined to the first line of the file2 and second line of the file1 to second line of the file2 and vice versa, the ouput has to be moved to another file.
For this Tony sent me a very usefull reply:
#!/bin/sh
cat /tmp/a | sed -n '1p' >> d
cat /tmp/b | sed -n '1p' >> d
where a, b and d are files
Please help me to convert this script in to the entire file.
Thanks
Siva