Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Re: Bourne Shell is the most appropriate scripting language





On 1/15/07, Greg Thomson <gregt@example.com> wrote:


On the subject of learning shell programming I've found this a good
reference.

A Practical Guide to Linux: Commands, Editors, and Shell Programming by
Mark G. Sobell
 
I think bash is a good start. When we learn bash, we know other power tools like sed and awk. Combinations of such tools can make great output.
 
Some years ago, when I was a sysadmin, I've used bash mostly for system automation. I knew perl, php, python would work great but I didn't have to time to learn.
 
This is an example of using bash for automating test: http://ltp.sourceforge.net/
 
Bash is simple and easy to learn. We don't have to intall third party software to make it work while for example, php, requires alot of module before installation.
 
Speaking of my own experience: I have to make a csv file for testing. This file would be 800MB in size. Hidemaru fails to open the test file. Emeditor ( free ) 5.x can open it but it takes 10 munites. Creating manually the test file with Emeditor is possible but I write a (simple) script, with some simple one-line sed and awk command. The script works and to (re)create the test file, I have only to rerun a script.
 
Actually, I am thinking of learning other languages like python and/or ruby. Please share your opinions.
 
 

--
Best Regards,
Nguyen Hung Vu
vuhung16plus{remove}@example.com
VIQR Standard: http://vi.i18n.kde.org/viqr
http://www.flickr.com/photos/vuhung/tags/fav/

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links