Mail Archives: cygwin/2003/02/19/11:11:37
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 -