how to compare file modification time (whole dir tree?)
Maarten Litmaath
maart at cs.vu.nl
Wed Aug 8 00:32:17 AEST 1990
In article <303 at risky.Convergent.COM>,
chrisb at risky.Convergent.COM (Chris Bertin) writes:
)...
)To go back to the original script, it really doesn't need to open /dev/null.
)Most people do that when they want to discard output, but why not close
)the apropriate file descriptor?
Because in general it's a bad idea _not_ to provide a program with _valid_
stdin, stdout and stderr files. The program e.g. might abort after
discovering a write() to file descriptor 1 failed...
--
"UNIX was never designed to keep people from doing stupid things, because
that policy would also keep them from doing clever things." (Doug Gwyn)
More information about the Comp.unix.questions
mailing list