"true" is a great choice to illustrate my test, as it is a great example of an utility which "succeeds" even with no input piped to it.
In reply to Re^2: best practices for checking system return values for piped commands?
by markjugg
in thread best practices for checking system return values for piped commands?
by markjugg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |