A few character strokes more, but still a very short line.exit 1 if $?;
And no, the program won't be silent. "cat" is perfectly able to tell the user why it can't read the file.
In reply to Re^6: greater efficiency required (ls, glob, or readdir?)
by JavaFan
in thread greater efficiency required (ls, glob, or readdir?)
by jperlq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |