4 ms·
Error detection is much easier with pipefail: http://www.gnu.org/software/bash/manual/html_node/Pipelines.html http://www.gnu.org/software/bash/manual/html_nod
by robertduncan 12y ago
Error detection is much easier with pipefail:
http://www.gnu.org/software/bash/manual/html_node/Pipelines.html http://www.gnu.org/software/bash/manual/html_node/Pipelines....
"If pipefail is enabled, the pipeline’s return status is the value of the last (rightmost) command to exit with a non-zero status, or zero if all commands exit successfully"
- psobot 12y agoPipefail is awesome - I had no idea this even existed. Thanks!