Code Comments
Programming Forum and web based access to our favorite programming groups.
Loki Harfagr wrote:
> Le Tue, 03 May 2005 03:41:50 +0000, sammy a écrit :
>
>
>
>
> Have a try starting whith this :
> awk '{print};(NR%2==0) {print ""}'
Or, abbreviated:
awk '1;NR%2==0{print ""}'
Regards,
Ed.
Post Follow-up to this messageIn article <d58ig1$kot@netnews.proxy.lucent.com>,
Ed Morton <morton@lsupcaemnt.com> wrote:
...
>
>Or, abbreviated:
>
>awk '1;NR%2==0{print ""}'
ORS=NR%2?"\n":"\n\n"
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.