Path: 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> <1990Nov24.073827.10945@agate.berkeley.edu> Reply-To: peter@sugar.hackercorp.com (Peter da Silva) Organization: Sugar Land Unix - Houston Lines: 15 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. -- Peter da Silva. `-_-' .