On Tue, Apr 12, 2005 at 01:42:08PM -1000, Michael J Wise wrote:
On Apr 12, 2005, at 1:23 PM, Volker Kuhlmann wrote:
What's the recommended way for testing whether some external program
$PROG exists?
:0
* ? [ -f $PROG ]
Probably want -x rather than -f. Programs are going to be executable.
Might also be good to check for readability and not a directory.
--
dman
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail