awk CR/LF issue
Igor Pechtchanski
pechtcha@cs.nyu.edu
Wed Feb 19 18:35:00 GMT 2003
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/
More information about the Cygwin
mailing list