RHAT bug? /etc/init.d/functions:daemon()
Ben Scott
dragonhawk at gmail.com
Wed Feb 1 10:07:01 EST 2006
On 2/1/06, Paul Lussier <p.lussier at comcast.net> wrote:
> And people complain about *Perl* being line noise?
Yah, that thought occurred to me, too.
One of the reasons I don't use shell parameter expansion magic
myself is I find them hard to read.
> If you're doing option parsing, IMO, it's a *lot* easier to use
> getopt, whicn is a bash built-in than arcane and confusing
> bash magic like this...
Well, I suppose one could make the argument that using bash's getopt
features are less portable then shell parameter expansion magic (which
I believe is defined by POSIX). But given the target platform in this
case is effectively guaranteed to be using bash, I don't really think
that would apply.
> Paul "wondering why all init scripts aren't written in perl yet..."
Because Perl lives in /usr and /usr may not be available.
Red Hat's root install is already bloated enough, don't give them
any ideas. ;-)
-- Ben "It's still better then APL" Scott
More information about the gnhlug-discuss
mailing list