Hi,

is there any way to notice commands exiting with a non-zero status
inside a process substitution?

For example:

$ cat <(exit 1)

ignores the exit status of "exit":

$ echo $?
0

I'm searching for something like "set -e" (doesn't work in this case)
to make the whole command fail.


I'm using bash 3.2.17.

Thanks,
  AB


Reply via email to