delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/19/11:11: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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 19 Feb 2003 11:11:05 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Harald Kierer <Harald DOT Kierer AT astrum DOT de>
cc: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: RE: awk CR/LF issue
In-Reply-To: <8C6D4989662C304087C58904BAB721A54B73B9@Hermes.astrum.de>
Message-ID: <Pine.GSO.4.44.0302191109180.11788-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Wed, 19 Feb 2003, Harald Kierer wrote:

> > -----Original Message-----
> > From: Christopher Faylor [mailto:cgf-cygwin AT cygwin DOT com]
> > Sent: Wednesday, February 19, 2003 4:29 PM
> > To: cygwin AT cygwin DOT com
> > Subject: Re: awk CR/LF issue
>
> [snap]
>
> > >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.
>
> That made an evil awk IMHO. The reason of mounting something
> as "--text" is that "text files get \r\n line endings" (says mounts
> usage). Other means of output stick to that anyway.
>
> But I'll shut my mouth for now and just consider your options:
>
> > 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.
>
> Yepp, I'll try to progress from 1 to 3 :)
>
> thanks,
>  harry

FYI, for a quick workaround (if you stick to 1 for now), use the feline. ;-)
("| cat").
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


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