Thank you for your assistance Gurus.
[thumbsup2]
The following worked perfectly:
/usr/xpg4/bin/awk '{printf $0" ";getline}1' filename.txt
nawk 'ORS=(FNR%2)?FS:RS' filename.txt
paste -s -d " \n" filename.txt
I would like to be able to modify the following output in filename.txt from this:
alpha
56%
beta
72%
charlie
88%
...
to this:
alpha 56%
beta 72%
charlie 88%
...
Hope you can help me. Thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.