Thread: Shell Script Programming
February 26th, 2005, 12:06 PM #1
Shell Script Programming
What is an easy way to understand Shell Script Programming using the Bash shell. How do people come up with these really cool complex scripts?
February 26th, 2005, 12:23 PM #2
You have to just take them step at a time. Shell scripts tend to be pretty modular.
Just take it step by step. Since they tend to be parsed pretty much top to bottom without skipping around alot.My computer is bigger than yours!
February 26th, 2005, 12:27 PM #3
It always amazes me how when you write something, it starts off really simple and grows into a real beast.
Best way I have found is to find some task, and try to write a 100% automated script to do it. Then start adding some logic and error checking. After doing that a bit, it will start to come together.My computer is bigger than yours!
February 27th, 2005, 02:37 AM #4
It's worthwhile looking at one of the scripting languages to shell with; perl (my pref www.cpan.org being a big reason), python is popular, ruby.
Perl and python are on most. There is very little penalty to using a scripting language and when your requirements grow the basic shell is not holding you back.
March 3rd, 2005, 07:18 PM #5
- Join Date
- Jun 2003
perl is good !!
March 3rd, 2005, 10:33 PM #6
March 15th, 2005, 03:34 PM #7
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By SoopaStar in forum Linux and UnixReplies: 6Last Post: August 31st, 2004, 04:28 PM
By Ruler2112 in forum Linux and UnixReplies: 2Last Post: November 12th, 2003, 03:46 PM
By jon112981 in forum Webmastering and ProgrammingReplies: 6Last Post: July 3rd, 2003, 02:45 PM
By flashingcurser in forum Linux and UnixReplies: 7Last Post: May 15th, 2003, 04:56 PM