Friday, June 24, 2011

merge two file


pr -m -t -s\  file1 file2 | gawk '{print $3"   ",$4"   ",$5"     ",$7"   ",$9"   ",$11}' > tmp.out

pr -m:

it will merge file1 and file2

Use of the command.
it will merge two file,show 2 file output. we can print particular field.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.