On Oct 26, 2005, at 3:49 PM, Meanor, Tim wrote:

Why shouldn't he learn Bash?  All the Linux init scripts are in Bash,
the %pre and %post scripts in RPMs are in Bash, and lots of other
system
management scripts are in Bash, so it seems like it makes more
sense to
learn Bash.

Linux init scripts *should* be in POSIX sh.  And I think you'll find
that in well-written rpms, the shell requirement is /bin/sh, which is
only guaranteed to be Bourne shell compatible and may or may not have
the bash bells and whistles.

Yeah, on Linux systems these days, /bin/sh generally *is* bash, but
you shouldn't rely on that, and not all the world is Linux.

Adam

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to