On Sun, Feb 17, at 02:16 Dan Nicholson wrote:
> 
> So, if you're using bash as /bin/sh, then just use ECHO=echo. Using
> the builtin echo will be less overhead then forking /bin/echo every
> time a message goes to the screen.
> 

Talking about overhead, take a look at this snippet (1) for a shell
comparison.

My results are:

bash: 43 seconds in el_GR.UTF-8
bash: 26 seconds in C locale
dash: 6 seconds
zsh: 22 seconds

1.http://my.opera.com/atomo64/blog/2008/02/10/stress-testing-shell-interpreters

-- 
http://wiki.linuxfromscratch.org/blfs/wiki/Hacking
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to