Re: [Ask] About awk

2012-08-19 Thread Morning Star
Thanks, Mark. You saved my time. It works for me if I change the initial i to 1 (i=1), because I don't want to get $0 to be the output. Greetings, Marco On Sun, Aug 19, 2012 at 2:40 AM, mwillson wrote: > On Saturday, 18 August 2012 19:40:02 UTC+1, Morning Star wrote: > > Hi guys, > > I have

Re: [Ask] About awk

2012-08-18 Thread mwillson
On Saturday, 18 August 2012 19:40:02 UTC+1, Morning Star wrote: > Hi guys, > I have some string and numeric data in like this format (one line): > 1 2 3 4 5 6 7 8 9 10 11 12 > and i want the output like this: > 1 2 3 > 4 5 6 > 7 8 9 > 10 11 12 > > > > How do I do that in awk?  > > > Thanks in

[Ask] About awk

2012-08-18 Thread Morning Star
Hi guys, I have some string and numeric data in like this format (one line): 1 2 3 4 5 6 7 8 9 10 11 12 and i want the output like this: 1 2 3 4 5 6 7 8 9 10 11 12 How do I do that in awk? Thanks in advance. Greetings, Marco