How to append fields from one row on to the end of the preceding row - the awk one isn't completely tested yet - this gives the output the other way round...
Try...
paste -d" " - - <> outfile
Or...
awk -v RS="" '{$1=$1};1' infile > outfile
If anyone know's how to improve this please let me know! ...Also I'm not sure why the '-v' variable declaration is required?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment