small bug in who(1) of SVR3

Henry Spencer henry at zoo.toronto.edu
Sun Jan 13 11:48:43 AEST 1991


In article <18896 at rpp386.cactus.org> jfh at rpp386.cactus.org (John F Haugh II) writes:
>... Why should I be forced to... use pipes (ala "who | 
>cut -d' ' -f1 | pr -6 -l1) to get the same results as "who -q"?

Because they are the simplest and cheapest way to get the desired results?
I don't care how easy it was to add the "-q" option, it was a waste of the
programmer's time.  A shell program using pipes could have been written in
seconds, solving the problem without messing around with "who".

There seems to be a pervasive delusion that the only two ways things can
be done are (a) add every conceivable option to the C program or (b) force
the user to type long sequences using pipes.  The correct approach, when
such functionality is often used, is to package it up in a system-supplied
shell file.
-- 
If the Space Shuttle was the answer,   | Henry Spencer at U of Toronto Zoology
what was the question?                 |  henry at zoo.toronto.edu   utzoo!henry



More information about the Comp.bugs.sys5 mailing list