Unnecessarily long pipelines
Leo de Wit
leo at ehviea.ine.philips.nl
Sun Jul 22 05:44:18 AEST 1990
In article <3043 at skye.ed.ac.uk> richard at aiai.UUCP (Richard Tobin) writes:
|In article <2358 at root44.co.uk> gwc at 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}"
Yup, especially if your csh supports filename completion (this also
allows you to check whether there's already a *.old file without
retyping the command).
Leo.
More information about the Comp.unix.questions
mailing list