This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
RE: ^M diff related problem
- To: Chuck dot Irvine at mail dot sprint dot com
- Subject: RE: ^M diff related problem
- From: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Date: Fri, 19 Jan 2001 17:49:31 -0600 (CST)
- cc: Cygwin Mailing List <cygwin at sourceware dot cygnus dot com>
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.
Regards,
Mumit
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple