Improve shell program efficiency with Bash Dynamically Loadable

by on June 12, 2006 · 1 comment· LAST UPDATED June 12, 2006

in

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...



If you would like to be kept up to date with our posts, you can follow us on Twitter, Facebook, Google+, or even by subscribing to our RSS Feed.


{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 3 + 13 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.

Previous post:

Next post: