🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #321

Re: small bug in who(1) of SVR3

#321
From: Carmen Hardina
Date: Sun, 20 Jan 1991 19:11
41 lines
2189 bytes
In article <9101091725.AA15013@ucbvax.Berkeley.EDU> treingol@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
Technical Details
Message-ID: <11012@uhccux.uhcc.Hawaii.Edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!uhccux!bt455s39
References: <9101091725.AA15013@ucbvax.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!uhccux!bt455s39
From: bt455s39@uhccux.uhcc.Hawaii.Edu (Carmen Hardina)
Newsgroups: comp.bugs.sys5
Subject: Re: small bug in who(1) of SVR3
Summary: SCO XENIX who(C) does not have this bug
Keywords: who xenix unix bug
Message-ID: <11012@uhccux.uhcc.Hawaii.Edu>
Date: 20 Jan 91 19:11:48 GMT
References: <9101091725.AA15013@ucbvax.Berkeley.EDU>
Reply-To: bt455s39@uhccux.uhcc.Hawaii.Edu (Carmen Hardina)
Organization: University of Hawaii
Lines: 41