Newsgroups: comp.bugs.sys5 Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: Shell Scripts v. Command Options (was: Re: small bug in who(1) of SVR3) Message-ID: <1991Jan18.162833.11061@zoo.toronto.edu> Organization: U of Toronto Zoology References: <1991Jan14.202053.20054@zoo.toronto.edu> <18946@rpp386.cactus.org> <1991Jan16.175908.3338@zoo.toronto.edu> <1396:Jan1811:54:2091@kramden.acf.nyu.edu> Date: Fri, 18 Jan 1991 16:28:33 GMT In article <1396:Jan1811:54:2091@kramden.acf.nyu.edu> brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes: >> ... a sense of perspective is needed. Hacking >> C code to avoid writing a one-line shell script is a gross waste of time >> and money unless that program is truly critical to system performance. > >That depends on your user community. In general, code that will be >distributed to thousands of sites should be written efficiently. Oh, I quite agree. Please note that I'm co-author of a major piece of code -- C News -- that is distributed to, and in use at, thousands of sites. It relies quite heavily on shell scripts. The customers are generally extremely pleased with its performance. People who claim that shell scripts can't be efficient don't know what they're talking about. -- If the Space Shuttle was the answer, | Henry Spencer at U of Toronto Zoology what was the question? | henry@zoo.toronto.edu utzoo!henry