Andrew responded,
| Interesting again. A system where touch -c doesn't do what it should, ...
No, it does exactly what it should, because the man page even says so. In
fact, on the servers where touch -c exits 1 when the file doesn't already
exist, the man page says it should exit without an error.
| Just out of curiosity, does uname -s not return useful info? (One would
| think if -a doesn't work, -s wouldn't either, but then one doesn't expect
| -a to not tell you that info.)
uname -a says everything that the other uname options say. It's just that
something like "i386" or "i86pc" doesn't name the box's OS in a way that
means much to anyone besides its own sysadmins.
At any rate, given that (1) /bin/test is a shell script there and (2)
touch -c exits 0 there if the file doesn't exist, so far head -0 seems to be
the best suggestion.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail