in reply to Re^5: greater efficiency required (ls, glob, or readdir?)
in thread greater efficiency required (ls, glob, or readdir?)
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: greater efficiency required (ls, glob, or readdir?)
by ikegami (Patriarch) on Aug 27, 2008 at 21:01 UTC | |
by JavaFan (Canon) on Aug 27, 2008 at 21:09 UTC | |
by ikegami (Patriarch) on Aug 27, 2008 at 21:37 UTC | |
by JavaFan (Canon) on Aug 27, 2008 at 21:42 UTC |