Improve shell program efficiency with Bash Dynamically Loadable
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...
Want to stay up to date with the latest Linux tips, news and announcements? Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
You may also be interested in other helpful articles:
- How To Become a UNIX command-line Wizard
- Temporary memory files and shell scripts
- BASH Shell Frequently Asked Questions
- How BASH Shell Command Search Sequence Works
- An Interview With Chet Ramey - Maintainer Of Bash Shell
Discussion on This Article:
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


perl programming tips…
Great information here. Thanks for the article. I also think…