Article View: comp.sys.amiga.tech
Article #6331Re: PIPEs
From: Pete Goodeve
Date: Sun, 04 Nov 1990 07:24
Date: Sun, 04 Nov 1990 07:24
17 lines
1328 bytes
1328 bytes
Duhh -- I've been thinking. Maybe I'm just about to do a COMPLETE
about-face on what I said last time.
I suppose there's really no more conflict between the use of '|' as
a pipe character and its other uses than there is between, say, using '>'
for redirection and having it pop up in a pattern string (as a plain
character to be matched). At least this is the case if you insist on a
space preceding it (as you need before '>' redirection), because a pattern
can never BEGIN with an alternation mark. (Quotes and parentheses would
have to be taken into account naturally.)
list #?.c|???.h | myformatter |myprinter
Any other problems? If not, I withdraw my objections.
-- Pete --
Technical Details
Message-ID:
<1990Nov4.072423.408@agate.berkeley.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!agate!violet.berkeley.edu!peteReferences:
<1990Nov3.073201.8227@agate.berkeley.edu> <6977@sugar.hackercorp.com> <1990Nov4.054222.24999@agate.berkeley.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!agate!violet.berkeley.edu!pete From: pete@violet.berkeley.edu (Pete Goodeve) Newsgroups: comp.sys.amiga.tech Subject: Re: PIPEs Summary: Second thoughts! Message-ID: <1990Nov4.072423.408@agate.berkeley.edu> Date: 4 Nov 90 07:24:23 GMT References: <1990Nov3.073201.8227@agate.berkeley.edu> <6977@sugar.hackercorp.com> <1990Nov4.054222.24999@agate.berkeley.edu> Sender: usenet@agate.berkeley.edu (USENET Administrator) Organization: University of California, Berkeley Lines: 17