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 Date: Wed, 19 Feb 2003 10:29:00 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: awk CR/LF issue Message-ID: <20030219152900.GD410@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <8C6D4989662C304087C58904BAB721A54B73B4 AT Hermes DOT astrum DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8C6D4989662C304087C58904BAB721A54B73B4@Hermes.astrum.de> User-Agent: Mutt/1.5.1i On Wed, Feb 19, 2003 at 02:09:21PM +0100, Harald Kierer wrote: >I've been complaining about the awk output lately. >Today I tested our old awk (3.0.3) which did what >I expected, in contrast to the new 3.1.1 awk. >So I (finally) searched the archives and found this: > >"I've updated the version of GNU awk to 3.1.1-3. > >This version is linked against automode.o. It should solve CR/LF >issues on input." >http://sources.redhat.com/ml/cygwin/2002-09/msg00406.html > >I don't know *what* was fixed since I cannot find a changelog >or source, and I don't know which version introduced that >bug since I only have this old 3.0.3 (I think from B20), >but it got worse for me between those versions. > >So the 3.0.3 GNU awk works as expected. awk 3.1.1 does not! >It outputs to POSIX style only, disregarding the mounts. Correct. That was the whole point of the release. Your options are to 1) stick with the old release, 2) rebuild gawk yourself from source, 3) submit a patch to make the behavior selectable via a command-line option. cgf -- 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/