View Single Post
  #2   (View Single Post)  
Old 8th June 2011
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

First things first ... always use #! /bin/sh as script interpreter.

As for the guides, check these for start:

http://developer.apple.com/library/m...roduction.html
http://www.grymoire.com/Unix/Sh.html
http://www.unix.com/tips-tutorials/1...arse-file.html
http://www.ibm.com/developerworks/ai...GoodUnixHabits
http://sparky.rice.edu/~hartigan/sed.html
http://sparky.rice.edu/~hartigan/awk.html
http://www.ibm.com/developerworks/li...wk1/index.html
http://www.shell-fu.org/lister.php?top
http://www.commandlinefu.com/

Shell scripting is generally about efficient parsing/altering the output of commands with sed/awk/cut/find/column/grep/... and using PIPES a lot.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote