This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: awk CR/LF issue
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Harald Kierer <Harald dot Kierer at astrum dot de>
- Cc: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Wed, 19 Feb 2003 11:11:05 -0500 (EST)
- Subject: RE: awk CR/LF issue
- Reply-to: cygwin at cygwin dot com
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/