Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Harald Kierer <Harald.Kierer@astrum.de>
cc: "'cygwin@cygwin.com'" <cygwin@cygwin.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
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Wed, 19 Feb 2003, Harald Kierer wrote:

> > -----Original Message-----
> > From: Christopher Faylor [mailto:cgf-cygwin@cygwin.com]
> > Sent: Wednesday, February 19, 2003 4:29 PM
> > To: cygwin@cygwin.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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/

