Path: utzoo!utgpu!watserv1!watmath!att!att!pacbell.com!ucsd!usc!zaphod.mps.ohio-state.edu!wuarchive!udel!haven!decuac!bacchus.pa.dec.com!bacchus!mwm From: mwm@raven.relay.pa.dec.com (Mike (My Watch Has Windows) Meyer) Newsgroups: comp.sys.amiga.tech Subject: Re: Pipe syntax... I think I'd better think it out again... Message-ID: Date: 28 Nov 90 22:48:55 GMT References: <1990Nov18.090654.24747@agate.berkeley.edu> <1990Nov24.073827.10945@agate.berkeley.edu> <7151@sugar.hackercorp.com> Sender: news@wrl.dec.com (News) Organization: Missionaria Phonibalonica Lines: 22 In-Reply-To: peter@sugar.hackercorp.com's message of 28 Nov 90 12:25:18 GMT In article <7151@sugar.hackercorp.com> peter@sugar.hackercorp.com (Peter da Silva) writes: Path: bacchus.pa.dec.com!news.crl.dec.com!shlump.nac.dec.com!decuac!haven!purdue!bu.edu!rpi!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!peter In article 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. Well, with pipe: it works just fine. But using a real file for $PIPE means you buy back many of the problems pipes were invented to get around.