| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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" <bab AT vx DOT com> |
| To: | "Daryl Spartz" <spartz AT us DOT ibm DOT com>, <cygwin AT cygwin DOT com> |
| Subject: | Sounds serious! RE: 1.3.10: CRLF problem introduced in upgrade |
| Date: | Tue, 7 May 2002 15:35:09 -0400 |
| Message-ID: | <INEKLKBFCDBPKMKAJLMDIEGKCCAA.bab@vx.com> |
| MIME-Version: | 1.0 |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |