procmail
[Top] [All Lists]

Re: testing for existence of a file without a fork

2002-05-02 12:54:16
Udi suggested,

| Maybe echo(1) is faster.  Try this:
|
| echo [F]ileName

No, because procmail has to fork a shell to handle the globbing, even though
/bin/echo isn't a shell script on that system (it is on some!).

| What about ls -d ?  I know is biger than head but maybe more
| efficient?

ls has so many options that it's usually a monster.  I'd thought of it but
pretty much dismissed it out of hand.  Actually, on this system it's only
about 2 1/2 times the size of head.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail