to:if (-f -x $file) {
if (-f -x "$path/$file") {
This is how I do it: Finding commands in Unix PATH:
findcmd is a script which searches through the directories
in the Unix PATH variable for executable files
In reply to Re: file test results not as expected
by toolic
in thread file test results not as expected
by navalned
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |