This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
1.3.10 CRLF occuring in output
- From: "Daryl Spartz" <spartz at us dot ibm dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 13 Mar 2002 15:23:05 -0800
- Subject: 1.3.10 CRLF occuring in output
The following bash script segment worked correctly prior to my upgrading
cygwin (from 1.3.2 to 1.3.10):
export DISPLAY=`ipconfig | grep 'IP Address' | awk '{ split( $0, line, ":
" ); print line[ 2 ] }'`":0"
now results in:
$ echo $DISPLAY
:02.168.2.23
A CR is left in the output and when eliminated, result is correct:
$ echo $DISPLAY | tr -d "\r"
192.168.2.23:0
$ mount
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
I have not changed the mount mode. Was the default behavior in regards to
CRLF sequences changed between levels of cygwin?
spartz@us.ibm.com
--
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/