What? You aren't using snake?

Regards, 
Richard Schuh 

 

> -----Original Message-----
> From: CMSTSO Pipelines Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Rob van der Heij
> Sent: Monday, August 04, 2008 6:55 AM
> To: CMS-PIPELINES@VM.MARIST.EDU
> Subject: Converting a list to multi-column
> 
> I have a stream of records with a (known) number of header 
> lines, for example like this
> 
> Userid   Disk Size
> -------- ---- ----
> RVDHEIJ  0191   50
> MAINT    0193   50
> MAINT    0190  150
> MAINT    019D  102
> MAINT    019E  100
> 
> Since the records are small, I want to display it in multi 
> column layout. I can do that as follows:
> *: | pad 18 | chop 18 | x: take 2 | dup 3 | i: fanin | join 3 
> , , | *: \ x: | i:
> 
> What I'm looking for now is an elegant way to suppress the 
> header on additional columns if there were less than 4 data 
> records... Any suggestions?
> -Rob
> 

Reply via email to