1 |
On Mon, 2009-03-09 at 15:39 -0700, Donnie Berkholz wrote: |
2 |
|
3 |
> > * Utility commands, even the ones that aren't functions, should die. To |
4 |
> > get a non-die version, prefix the command with nonfatal (e.g. |
5 |
> > 'nonfatal dodoc README', which just returns non-zero on failure |
6 |
> > rather than splatting). |
7 |
> |
8 |
> Sounds useful to have less '|| die' all over the place. |
9 |
|
10 |
Whats wrong with 'set -e' and doing '|| true' behind? |
11 |
IMO this would feel more shell-ish. |
12 |
|
13 |
/haubi/ |
14 |
-- |
15 |
Michael Haubenwallner |
16 |
Gentoo on a different level |