Use the -r filetest operator; it will fail if the file does not exist, AND if the file is not readable (you might want to run -e on it if -r fails, just to check which one)
HTH
Philosophy can be made out of anything. Or less -- Jerry A. Fodor
In reply to Re: Storable Question
by arturo
in thread Storable Question
by pdaggett
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |