Re: set -e in bash (long)
Kevin Lyda <[email protected]>
| Newsgroups | gmane.linux.lfs.general |
|---|---|
| Message-ID | <CADJ56BSmQ4y68HjHHdoO9aEHNOSbR0VwG77oL2tJNCmQd+uUtg@mail.gmail.com> |
set -e doesn't abort on any statement with a boolean test. So if you do this: set -e false && false echo hi you'll get "hi". This is true for loops, if and case structures and the boolean operators. Does this help? Kevin -- http://linuxfromscratch.org/mailman/listinfo/lfs-chat FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page