Timeline for How can I get bash to exit on backtick failure in a similar way to pipefail?
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 21, 2011 at 15:09 | comment | added | Danny Staple | Not sure about the read trick, attempting it lead to the variable not being bound. I think this may be because the other side of the pipe is effectively a subshell, name won't be available. | |
| Oct 21, 2011 at 12:26 | history | answered | ktf | CC BY-SA 3.0 |