John L Fjellstad wrote: > Paul Gear <[EMAIL PROTECTED]> writes: > > >>And *always* use 'set -u' in shell scripts. :-) > > > What does that do? I looked in bash manual, and couldn't find > anything... (always ready to learn something new:-) )
It treats an unset variable as an error. Very handy for making sure your backup script doesn't overwrite your root filesystem when you write rsync -SHavx /blah $DEST/ :-) -- Paul <http://paulgear.webhop.net> -- Did you know? Most email-borne viruses use a false sender address. Therefore you cannot track down the sender using that address. Instead, keep your virus scanning software up-to-date and just delete any suspicious emails you receive. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]