Hi ,
Can anyone help me suggesting - how to do the below trick with awk
Input
120
130
140
210
310
410
645
729
800
Output
120 130 140
210 310 410
645 729 800
Many many thanks
Hi ,
Can anyone help me suggesting - how to do the below trick with awk
Input
120
130
140
210
310
410
645
729
800
Output
120 130 140
210 310 410
645 729 800
Many many thanks
Any ideas/hints you can think of?
How about looking into FNR % 3
for starters?
Is awk
a MUST? Or would e.g. paste
do as well?
Most importantly, you have been here for long enough to know the rule:
Show what you have tried, and when error messages, join them to your request...
So what have you tried so far?
Thanks RudiC. No awk is not must . Thanks a lot
Try:
xargs -n3 < file
You can experiment by varying the number and see what it does.
It worked. Many many thanks