[Glastonbury] Questions

Sean Miller glastonbury at mailman.lug.org.uk
Thu Jul 17 07:44:01 2003


> If you actually want to create scripts to run a series of commands -
> shell scripting - then you need to read a whole lot of other resources,
> not least the man page for bash / ksh.  Try reading the tutorials linked
> from http://startext.demon.co.uk or search Google for the online version
> of RUTE.

O'Reilly have a fantastic little book called "UNIX In a Nutshell" which I
appear to have lost ;-( so can't lend... but it's well worth having if you
are considering UNIX/Linux shell programming.

But it has some fantastic chapters on each of the shells (ksh,sh,csh),
awk, sed, grep etc. etc.... not specifically the bourne-again shell, but
the scripting options in that one is fairly identical to korn shell.

There are some, however, who would advise you to steer well clear of shell
scripting and use perl instead. The advantage of perl is that it is a
platform-independent language, therefore your syntax for scripts on
windows, linux, unix, macos and whatever else will be identical, not to
mention CGI if you're installing (or writing) web applications in Perl.
There is logic in that, and you may wish to consider this as sensible
advice.

Sean