Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com X-Authentication-Warning: hp2.xraylith.wisc.edu: khan owned process doing -bs Date: Fri, 19 Jan 2001 17:49:31 -0600 (CST) From: Mumit Khan To: Chuck.Irvine@mail.sprint.com cc: Cygwin Mailing List Subject: RE: ^M diff related problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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