The '-X' functions are all concerned with getting details about files: -d $filename returns true if $filename exists and is a directory; -f $filename returns true if $filename exists and is a data file.
In reply to Re: What are -d and -f for?
by graff
in thread What are -d and -f for?
by tej
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |