This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: awk strangely outputs to file
- From: Harald Kierer <Harald dot Kierer at astrum dot de>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Mon, 10 Feb 2003 07:52:09 +0100
- Subject: RE: awk strangely outputs to file
> -----Original Message-----
> From: Igor Pechtchanski [mailto:pechtcha@cs.nyu.edu]
> Sent: Friday, February 07, 2003 5:31 PM
> To: Harald Kierer
> Cc: 'Chiranth'; cygwin@cygwin.com
> Subject: RE: awk strangely outputs to file
>
>
> On Fri, 7 Feb 2003, Harald Kierer wrote:
>
> > > From: Chiranth [mailto:chiranth.m@net-kraft.com]
> > > On Feb 3, Harald Kierer wrote....
> > > >How can awk write Windows-like text files from within the script?
> > > >The only way right now is to redirect the whole output
> like above.
[snip]
> <http://cygwin.com/cygwin-ug-net/using-utils.html#MOUNT>
> <http://cygwin.com/cygwin-ug-net/using-cygwinenv.html> (the
> section on "binmode")
> Igor
Just for the record:
- All my drives are mounted in textmode.
- Setting $CYGWIN to "nobinmode" has no effect.
Apparently, awk doesnt care about those settings.
bye,
Harry
--
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/