Nice catch.  My brain didn't get engaged while the fingers were typing.....
 
_____________________
Jim Hughes
x5586
"It is fun to do the impossible." Quote from Walt Disney

________________________________

From: The IBM z/VM Operating System on behalf of Rob van der Heij
Sent: Sat 8/7/2010 8:48 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: pipe question?



On Sat, Aug 7, 2010 at 12:43 PM, Hughes, Jim <jim.hug...@doit.nh.gov> wrote:
> "pipe (endchar ?)  ",
> ? < guests list a   ",
> "|  bld:  take 1    ",
> "| > guests list a ",
> "? bld:   ",
> your process follows

You meant to "drop" rather than "take" to leave all but the first
record in the file. But it's an elegant style to divert the record to
process towards the end of the pipeline (so you don't forget to keep
the remainder). And real plumbing would be to handle them all, not
just one of them (but that's beyond the question).

| Rob

Reply via email to