What's the recommended way for testing whether some external program
$PROG exists?
:0
* ? [ -f $PROG ]
Ok ok ok. But it fails with PROG=awk, the other tests in [ are the same
with that. That might leave * $? sh -c "type '$PROG'", is that really
less efficient? (Not that a few microseconds of CPU are worth more than
my time.)
Thanks,
Volker
--
Volker Kuhlmann is possibly list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.
____________________________________________________________
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