Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Combining files line by line
Name: Neil12321 Date: November 23, 2006 at 08:04:05 Pacific OS: Solaris 10 CPU/Ram: sparc Product: sun
Comment:
Hi,
I need to combine 2 files line-by-line e.g.: file1: a b c
file2: x y z
results: ax by cz
I have been trying to loop with sed, but with no luck.
Summary: Hi, I wrote the following code to read a file line by line #!/bin/ksh for i in `cat a.txt` do echo $i done This is not showing me the file contents line bye line. Instead I am seeing a word by word ou...