procmail
[Top] [All Lists]

Re: testing for existence of a file without a fork

2002-05-02 16:41:17
On Thu, May 02, 2002 at 05:49:22PM -0500, David W. Tamkin wrote:
Tried that too, thanks.  Updating the access or mod time of the file wouldn't
cause a problem, but unfortunately on the system in question touch -c always
returns success whether the file exists or not.

Interesting. What system are you doing this on? touch -c nonexistant-filename
on both Linux and Solaris return a non-zero exit status. Only other system I
have available to me to test is Irix, which is powered down right now.

-- 
Andrew Edelstein        -       http://andrew.pure-chaos.com
"If you're not pissed off at the world then you're just not paying attention."
                                Kasey Chambers "Ignorance"
"If you're not frightened by this, you're simply not paying attention."
                                Harry Browne
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail