13

prints some fields from different files into a line of new file

view full story
linux-howto

http://www.unix.com – i have 3 files as below: Code: [test1][test2][test3] i want to print 1st,2nd,5th and 10th filed of 1st to 5th lines from each files into a line of an output file, so the result would be: [output]: Code: {line1}(field 1 of line 1 from file 1)(field 2 of line 1 from file 1)(field 5 of line 1 from file 1)(field 10 of line 1 from file 1)...(field 10 of line 5 from file 1) {line2}(field 1 of line 1 from file 2)(field 2 of line 1 from file 2)(field 5 of line 1 from file 2)(field 10 of line 1 from file 2)...(field 10 of line 5 from file 2) {line3}(field 1 of line 1 from file 3)(field 2 o (HowTos)