+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member computerwizz's Avatar
    Join Date
    Jun 2004
    Posts
    430

    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?

  2. #2
    Did you try Google yet? Siliconjunkie's Avatar
    Join Date
    Feb 2003
    Location
    Buckhannon, WV
    Posts
    3,468
    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!

  3. #3
    Did you try Google yet? Siliconjunkie's Avatar
    Join Date
    Feb 2003
    Location
    Buckhannon, WV
    Posts
    3,468
    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!

  4. #4
    Senior Member James T's Avatar
    Join Date
    Jul 2004
    Location
    New Zealand
    Posts
    582
    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.

  5. #5
    Member
    Join Date
    Jun 2003
    Posts
    108
    perl is good !!

  6. #6
    Senior Member James T's Avatar
    Join Date
    Jul 2004
    Location
    New Zealand
    Posts
    582
    Hmm, did y'all know Frozen Bubble (a graphical game!) uses perl. Perls no slug, http://www.perl.com/pub/a/2005/02/24/mandrakelinux.html.

  7. #7
    Member computerwizz's Avatar
    Join Date
    Jun 2004
    Posts
    430
    Quote Originally Posted by James T
    Hmm, did y'all know Frozen Bubble (a graphical game!) uses perl. Perls no slug, http://www.perl.com/pub/a/2005/02/24/mandrakelinux.html.
    Thanks for showing us James!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Shell Script HELP :)
    By SoopaStar in forum Linux and Unix
    Replies: 6
    Last Post: August 31st, 2004, 04:28 PM
  2. Another Script Variable Question
    By Ruler2112 in forum Linux and Unix
    Replies: 2
    Last Post: November 12th, 2003, 03:46 PM
  3. help deleting lines
    By jon112981 in forum Webmastering and Programming
    Replies: 6
    Last Post: July 3rd, 2003, 02:45 PM
  4. Debian firewall script help
    By flashingcurser in forum Linux and Unix
    Replies: 7
    Last Post: May 15th, 2003, 04:56 PM

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Recommended Sites: ResellerRatings Store Reviews