[geeks] Some ancient history to get lost in...
Phil Stracchino
alaric at metrocast.net
Thu Nov 3 15:48:35 CDT 2011
On 11/03/11 15:21, Sandwich Maker wrote:
> " From: Phil Stracchino <alaric at metrocast.net>
> " The only root shell substitution I have ever made is /bin/bash for
> " /bin/sh on Solaris, because bash will run everything sh will and I find
> " it a lot more usable. And I can spare the little bit of extra memory.
>
> i'm more of a ksh partisan, having used it since ksh86 was new, but
> i've never tried to change root's shell. yes, ksh like bash runs
> everything sh can, but -not-exactly- the same -way-. there are a few
> small differences in interpretation and/or parsing... ksh docs used
> to a couple of sh 'bugs' they'd 'corrected'. my approach was to
> either have root's .profile exec the shell i wanted, or make a
> -second- root user - say kroot - with my shell of choice.
Side comment: file under "/bin/sh -> bash considered harmful"
I recently updated OpenFire on my Solaris 10 box. OpenFire is a jabberd
written in Java, by coders who know Linux, Windows, and not damn much else.
I couldn't figure out why the new version wouldn't start up ... until I
went through all the shell scripts. And facepalmed.
You see, all the scripts ran #!/bin/sh. And every damn one of'em used
bash-specific syntax.
"...But it's the same thing, isn't it?"
NO. *SMACK* IT ISN'T. *SMACK*
--
Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
alaric at caerllewys.net alaric at metrocast.net phil at co.ordinate.org
Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
It's not the years, it's the mileage.
More information about the geeks
mailing list