[Gllug] Shell

Nix nix at esperi.demon.co.uk
Sat Mar 9 16:52:02 UTC 2002


On Mon, 4 Mar 2002, Simon Stewart muttered drunkenly:
> Learn the original Bourne shell and the C Shell. Most servers that
> I've come across appear to be running one or the other

*BOGGLE*

You come across servers running the original V7 /bin/sh? The one with no
shell functions?

Writing code in *that* is horrible; writing code in that and retaining
readability is even worse (you have to detect if the shell doesn't
support shell functions and have the script cut itself apart along
function lines).

(The only kind of script around that has to be written for *that*
anymore is code in `configure.in's, and there's a lengthy chapter in the
Autoconf-2.5x manual about that, because it's not just bugs and
featurelessnesses in the shell you have to look out for, it's bugs in
the tools...)

-- 
`Frankly I wonder whether you are not writing your posts from underneath a
 bridge.' --- Jason Clifford, to a particularly dense troll

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list