| grep foo`) to produce a failure return code if any command errors. Normally,
pipelines only return a failure if the last command errors. In combination with
`set -e`, this will make your script exit if any command in a pipeline errors.
| grep foo`) to produce a failure return code if any command errors. Normally,
pipelines only return a failure if the last command errors. In combination with
`set -e`, this will make your script exit if any command in a pipeline errors.