Subject: Re: /etc/rc.d/ runs slowly
To: None <current-users@netbsd.org>
From: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
List: current-users
Date: 04/10/2000 09:50:52
> pmatch would be good.  I wonder if perhaps a case statement instead of
> an if [ ... ] would be better.

case construct and appropriate use of smart variable substitions like
${i##xxx} or ${i:-xxx} are faster than, the sequence of [ ... -o ... -a .. ]

Tohru Nishimura