Subject: Re: /etc/rc.d/ runs slowsly
To: Geoff Wing <email@example.com>
From: Greywolf <firstname.lastname@example.org>
Date: 04/09/2000 01:11:41
On 9 Apr 2000, Geoff Wing wrote:
# Greywolf <email@example.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?
BSD: the OS WORM - Write Once, Run Many.