Re: Redirecting output from running proc doesn't modify the "last modified time" field for target file

2011-12-02 Thread ajshower
>IMHO, this is a very dubious "feature" to depend upon. If you want to >know if the file has changed, why not check its length instead? I have switched to using the length instead but I was interested in what people thought of the issue. I'm having trouble reproducing this using just Cygwin so

Redirecting output from running proc doesn't modify the "last modified time" field for target file

2011-12-02 Thread ajshower
I've got a bash script running in Cygwin whose output has been redirected to another file. MS-DOS exhibits this same behavior if I run the bash script as a batch job. bash.exe &> log.txt Adding content to log.txt through redirection does not change log.txt's last modified time while bash.ex