small bug in who(1) of SVR3
Carmen Hardina
bt455s39 at uhccux.uhcc.Hawaii.Edu
Mon Jan 21 06:11:48 AEST 1991
In article <9101091725.AA15013 at ucbvax.Berkeley.EDU> treingol at journey.att.com (Tom Reingold) writes:
>The System V systems I use run releases 3.1 and 3.2. They allow you to
>type "who -Hq" which doesn't really make sense. The 'H' flag is to
>print a header for the normal "who" output, and the 'q' flag is to
>change the output to use multiple columns. So the output of "who -Hq"
>looks like this; the header line is meaningless.
>
>NAME LINE TIME
>cgf denisede ayoung jjschuld oneillv eah dgeorge mhratko
>jportlan vbt mschuld fishere cgarbows ghager ehornich dave
>jadler cg rbalko kmccarth robbo gchung kfriedma ecronin
>mferguso gwm bonnieb jpittas wai raturner kr cvourtsi
>egoon seema mm patt rjones tchapman mreddy dandriol
>acs kch treingol
># users=43
>
>Is the SVR4 who command derived from BSD or SVR3?
>
>Tom Reingold
[....]
Under SCO XENIX System V, a "who -Hq" produces the following output.
carmen carmen carmen
# users=3
I don't know about SVR4, but I do belive that the XENIX binary is
derived from SVR2 source. It's a bug in the code, not functionality.
If the q option worked properly, the ability to also specify the H
option (or any other, for that matter) would "make sense". The XENIX
man page states the following.
-q This is a quick who, displaying only the names and the
number of users currently logged on. When this option
is used, all other options are ignored.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Which vendors port of SVR3 are you using?
--Carmen
More information about the Comp.bugs.sys5
mailing list