Improve shell program efficiency with Bash Dynamically Loadable

by linuxBot · 1 comment

This is a nice way to improve efficiency of all shell scripts.

Bash shell programmers can improve the efficiency of their scripts by using the shell's dynamically loadable built-in commands. Chris F.A. Johnson shows us how to use them.

FTA "...If you use the shell for serious programming, as I do, speed of execution is a serious issue. A script should not appear sluggish; it should not be noticeably slower than a program written in Perl or Python — or even C. One of the major contributors to slowdown of scripts is starting a new process, whether it is an external command or command substitution. (All shells except Korn Shell 93 create a new process for command substitution.)..."

Read more...

Featured Articles:

Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!

{ 1 trackback }

Stuff
10.27.06 at 11:30 am

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post:

Next post: