set -e (was: RHEL-CentOS conversion scripts (was Re: apache?))

Alan Johnson alan at datdec.com
Fri Apr 10 19:02:02 EDT 2009


On Fri, Apr 10, 2009 at 1:47 PM, Kevin D. Clark
<kevin_d_clark at comcast.net>wrote:

> Here is the Bash documentation for "set -e":
> I frequently write industrial strength shell scripts, and I nearly
> always put "set -e" at the top.  I would humbly suggest for those
> people on this list who are not experts at creating shell scripts that
> they begin all of their shell scripts like this:
>

I love it!  That plus the basic echoing of commands that I know is out there
some where would make my scripts way more professional.  Anyone know that?
Googling for it keeps showing me ways use the echo command. =)

Thanks, Ben, for the debug tracking option, but echo-only would be ideal
here, for me anyway.

-- 
Alan Johnson
alan at datdec.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20090410/73dc1757/attachment.html 


More information about the gnhlug-discuss mailing list