delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/09/16:26:37

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: "Dan Vasaru" <dvasaru AT broadpark DOT no>
To: <cygwin AT cygwin DOT com>
Subject: RE: re. re. gawk and cr/lf
Date: Mon, 9 Sep 2002 22:26:24 +0200
Message-ID: <CHEDKHJJDLOCCOFLMGEACENCCLAA.dvasaru@broadpark.no>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
In-Reply-To: <3D7CFE37.000003.01168@pexy>

Pieter,

I don't know why your cygwin installation stopped translating CRLF's after
upgrade, but there're many places you could look for an answer (for instance
http://www.cygwin.com/cygwin-ug-net/using-textbinary.html).

CRLF translation is controlled by the mount type and the setting of the
CYGWIN variable. Specifically, if gawk doesn't open files in text mode, your
files need to be mounted in a textmode partition.

Before we can help, please switch to a cygwin window and type :

~>echo $CYGWIN
....
~> cd directory_with_awk_files; /bin/pwd ; pwd
....
~> mount
....


Post the output of the commands to the group. To be in line with the bug
reporting guidelines presented at http://www.cygwin.com/bugs.html, you could
also post the results of running

~> cygcheck -s -v -r > cygcheck.out

but I believe the CYGWIN setting and mount types may hint to your problem.

.dan


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019