Awk scripting let do (almost) every thing. However, if the two files contain the same number of
rows, you can merge them together and then extract the column you want with a single call to awk:
Code:
> cat file1
one two three
one two three
one two three
one two three
> cat file2
four five six
four five six
four five six
four five six
> pr -m -t -s\ file1 file2 | gawk '{print $4,$5,$6,$1}'
four five six one
four five six one
four five six one
four five six one
See
man pr for details. Note the double space in the pr command: the option "-s\ " tells to merge the two files using a single space as separator. Hope this will help.