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
Message-ID: <8C6D4989662C304087C58904BAB721A54B7387@Hermes.astrum.de>
From: Harald Kierer <Harald.Kierer@astrum.de>
To: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: RE: awk strangely outputs to file
Date: 	Mon, 10 Feb 2003 07:52:09 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"

> -----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/

