For Programmers: Free Programming Magazines  


Home > Archive > AWK > September 2004 > Re: print 3 lines without newline









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: print 3 lines without newline
Kenny McCormack

2004-09-24, 3:55 am

In article <415309ba$0$17928$ed2619ec@ptn-nntp-reader02.plus.net>,
Ian Stirling <root@mauve.demon.co.uk> wrote:
....
>I think you mean something like:
>ORS=NR%4>1?";":RS
>
>Which is the same length, but works.


Well, whatever. The idea is the thing. You generally don't want to give
newbies fully working code - gotta leave them something to figure out on
their own.

Anyway, it was unclear whether or not the dashes were part of the data or
just part of the formatting of the posting.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com