Article View: comp.sys.amiga.tech
Article #7045Re: Pipe syntax... I think I'd better think it out again...
From: Peter da Silva
Date: Wed, 28 Nov 1990 12:25
Date: Wed, 28 Nov 1990 12:25
15 lines
1358 bytes
1358 bytes
In article <MWM.90Nov25180550@raven.relay.pa.dec.com> mwm@raven.relay.pa.dec.com (Mike (My Watch Has Windows) Meyer) writes:
+ PIPE=/tmp/pip$$; mknod $PIPE p
> grep WSE /etc/passwd | awk -F: ' { print $1 } ' | sort |
| tee $PIPE | # this needs to be the split
> fgrep -f /dev/stdin /usr/lib/aliases | sed '/ /d' |
> tee aliaslist | sed 's/.*://' | sort |
| uniq -u - $PIPE # and this is where the split needs to rejoin
+ rm $PIPE
I know, not as pretty... On the Amiga this could be handled quite easily
just by making PIPE=pipe:temp. But the rest of the command is more managable
using the UNIX pipe syntax.
--
Peter da Silva. `-_-'
<peter@sugar.hackercorp.com>.
Technical Details
Message-ID:
<7151@sugar.hackercorp.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!peterReferences:
<1990Nov18.090654.24747@agate.berkeley.edu> <MWM.90Nov19143124@raven.relay.pa.dec.com> <1990Nov24.073827.10945@agate.berkeley.edu> <MWM.90Nov25180550@raven.relay.pa.dec.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!peter From: peter@sugar.hackercorp.com (Peter da Silva) Newsgroups: comp.sys.amiga.tech Subject: Re: Pipe syntax... I think I'd better think it out again... Message-ID: <7151@sugar.hackercorp.com> Date: 28 Nov 90 12:25:18 GMT References: <1990Nov18.090654.24747@agate.berkeley.edu> <MWM.90Nov19143124@raven.relay.pa.dec.com> <1990Nov24.073827.10945@agate.berkeley.edu> <MWM.90Nov25180550@raven.relay.pa.dec.com> Reply-To: peter@sugar.hackercorp.com (Peter da Silva) Organization: Sugar Land Unix - Houston Lines: 15