Re: [CMS-PIPELINES] opposite of INSERT

2008-01-17 Thread Glenn Knickerbocker
"Schuh, Richard" wrote: > PIPE ... | change /string/ // | ... Well, okay, that's a more exact opposite of INSERT than I was thinking of. I just want to excise a particular range of columns, regardless of its contents. But, hmmm, in simple cases, XLATE|CHANGE does the trick: ... | xlate w2-4

Re: [CMS-PIPELINES] opposite of INSERT

2008-01-17 Thread Schuh, Richard
Another variant would be if only the first n occurrences were to be removed, ... | change /string/ // n | ... Glenn can probably come up with other variants.:-) Regards, Richard Schuh > -Original Message- > From: CMSTSO Pipelines Discussion List > [mailto:[EMAIL PROTECTED

Re: [CMS-PIPELINES] opposite of INSERT

2008-01-17 Thread Marty Zimelis
Richard, Lovely! If this is, indeed, what Glenn was looking for, I would suggest one enhancement: If the goal is to remove a string at a certain point in the record (inverse of "insert after..." or "insert before..."), I'd code it as ... | change /string/ // | ... to avoid deletin

Re: [CMS-PIPELINES] opposite of INSERT

2008-01-17 Thread Schuh, Richard
PIPE ... | change /string/ // | ...  Regards, Richard Schuh > -Original Message- > From: CMSTSO Pipelines Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Glenn Knickerbocker > Sent: Wednesday, January 16, 2008 4:18 PM > To: CMS-PIPELINES@VM.MARIST.EDU > Subject: opposite o

[CMS-PIPELINES] opposite of INSERT

2008-01-17 Thread John P. Hartmann
RE: opposite of INSERT The termination problem is a bit different, but the net effect is that THREEWAY terminates when any stream goes to EOF without writing to higher-numbered streams that may be connected, but *after* consuming the record. And you get message 1382. j.