On 9 Apr 2000, Geoff Wing wrote:
# Greywolf <greywolf@starwolf.com> typed:
# :# The "ps -c" trick speeds up PS, but it's not the only problem with the
# :# rc functions -- "while" loops in shell scripts are also somewhat slow,
# :# especially if they have to fork 'test' twice on every iteration! ;-)
# :What "fork test"? "test" is a builtin, no?
#
# No, though given that people _normally_ only use /bin/sh for scripts rather
# than interactive stuff and most scripts probably use test/[ - some quite a
# bit more than others - it could be of some benefit performance wise to make
# it internal to /bin/sh
My Goddess, we are still in the dark ages in that respect, yet we
embrace the LESS thought-out new standards without a second thought!
Shall I send-pr this?
--*greywolf;
--
BSD: the OS WORM - Write Once, Run Many.