Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Bernard A Badger" To: "Daryl Spartz" , Subject: Sounds serious! RE: 1.3.10: CRLF problem introduced in upgrade Date: Tue, 7 May 2002 15:35:09 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <000001c1f5ec$48c2d6a0$1702a8c0@dspartz> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal > -----Original Message----- > From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf > Of Daryl Spartz > Sent: Wednesday, March 13, 2002 9:57 PM > To: cygwin AT cygwin DOT com > Subject: 1.3.10: CRLF problem introduced in upgrade > > > I have the following in my .bashrc: > > export DISPLAY=`ipconfig | grep 'IP Address' | awk '{ split( $0, line, ": > " ); print line[ 2 ] }'`":0" Save a process, use: export DISPLAY=`ipconfig | awk '/IP Address/{ split( $0, line, ":" ); print line[ 2 ] }'`":0" Yes, there's a problem someplace. Using CYGWIN: $ od -ac /C/TEMP/ipconfig.out 0000000 cr cr nl W i n d o w s sp 2 0 0 0 sp \r \r \n W i n d o w s 2 0 0 0 0000020 I P sp C o n f i g u r a t i o n I P C o n f i g u r a t i o n 0000040 cr cr nl cr cr nl E t h e r n e t sp a Using a windows-based OD,: C:\TEMP>od -ac ipconfig.out 0000000 nl W i n d o w s sp 2 0 0 0 sp I P \n W i n d o w s 2 0 0 0 I P 0000020 sp C o n f i g u r a t i o n nl nl C o n f i g u r a t i o n \n \n I also verified this with GNU emacs, hexl-mode. So there is some problem reading the text-mode file. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/