Subject: Re: /etc/rc.d/ runs slowsly
To: None <>
From: Geoff Wing <>
List: current-users
Date: 04/09/2000 07:49:07
Greywolf <> 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

Geoff Wing : <>     Work URL:
Rxvt Stuff : <>      Ego URL :
Zsh Stuff  : <>       Phone   : (Australia) 0413 431 874