[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: set -e vs. #!/bin/sh -e



Oliver Elphick wrote:
>
> There are cases where one wants to sandwich a section of code with `set -e'
> `set +e'.  Policy should not be so rigid as to exclude the possibility 
> of doing this.

Hmm, let's forget about what I've said for a sec.  I don't think that any
script should do the above in any case, can you present an example that cannot
be fixed by some other (better) means?

-- 
Debian GNU/Linux 1.3 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


--
To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: