Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!samsung!uunet!mcsun!ukc!edcastle!aiai!richard From: richard@aiai.ed.ac.uk (Richard Tobin) Newsgroups: comp.unix.questions Subject: Re: Unnecessarily long pipelines Message-ID: <3043@skye.ed.ac.uk> Date: 20 Jul 90 14:56:56 GMT References: <2358@root44.co.uk> Reply-To: richard@aiai.UUCP (Richard Tobin) Organization: AIAI, University of Edinburgh, Scotland Lines: 14 In article <2358@root44.co.uk> gwc@root.co.uk (Geoff Clare) writes: >Why is it that people string together lots of "grep" commands in a >pipeline, when they could do the same job with a single "sed" or "awk" >command? Because they can remember how to do it without thinking of course. Just like most csh users type "mv fred.c fred.c.old" instead of the shorter "mv fred.c{,.old}" -- Richard -- Richard Tobin, JANET: R.Tobin@uk.ac.ed AI Applications Institute, ARPA: R.Tobin%uk.ac.ed@nsfnet-relay.ac.uk Edinburgh University. UUCP: ...!ukc!ed.ac.uk!R.Tobin