Newsgroups: comp.bugs.sys5 Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: SVR3 Utilities (Was: Re: small bug in who(1) of SVR3) Message-ID: <1991Jan15.180242.23975@zoo.toronto.edu> Organization: U of Toronto Zoology References: <1991Jan13.004843.18650@zoo.toronto.edu> <18899@rpp386.cactus.org> <1991Jan14.202053.20054@zoo.toronto.edu> <18948@rpp386.cactus.org> Date: Tue, 15 Jan 1991 18:02:42 GMT In article <18948@rpp386.cactus.org> jfh@rpp386.cactus.org (John F Haugh II) writes: >% timex users >jfh root >execution complete > >real 0.19 >user 0.00 >sys 0.05 >% timex /bin/sh -c 'who | cut -d" " -f1 | sort -u | tr \\012 " " ; echo ""' >jfh root >execution complete > >real 0.79 >user 0.02 >sys 0.22 [begin sarcasm] I am truly awed at the magnitude of the resource saving here. Clearly saving 190 milliseconds of CPU time, and about half a second of real time, on a command used a few dozen times a day is of enormous importance. [end sarcasm] We didn't think savings of this magnitude worthwhile on our poor struggling old pdp11/44, never mind on a modern machine. Not when it added substantial programming and maintenance overhead forevermore. -- If the Space Shuttle was the answer, | Henry Spencer at U of Toronto Zoology what was the question? | henry@zoo.toronto.edu utzoo!henry