^M diff related problem

Mumit Khan khan@NanoTech.Wisc.EDU
Fri Jan 19 15:49:00 GMT 2001

On Fri, 19 Jan 2001 Chuck.Irvine@mail.sprint.com wrote:

> Just curious - why might the setting of TEMP make a difference? Thanks, 
> anyway, though.

It makes a difference for some tools such as patch which creates a
temporary file. The default TEMP points to /cygdrive/c/WINNT/Temp on
say a NT or Win2k box which is by default textmode, and patch output
then adds unexpected ^Ms. I personally set TMPDIR and TEMP to /tmp
in .bashrc to avoid these little issues.

Doesn't make a difference for diff, which doesn't use temporary files.


Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list