Path: 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 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 --