Subject: Re: bin/17514 bin/sh and -e
To: None <,>
From: David Laight <>
List: netbsd-bugs
Date: 01/11/2003 18:38:31
> > Some related 'features':

$ set -e; echo x$(exit 5)

should also (probably) exit when the back-quoted command fails.
(and so not echo anything before the shell exits).

$ set -e; x=$(exit 5)

does exit though (at least from my sources).


David Laight: