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
To: cygwin@cygwin.com
Subject: echo and CYGWIN variable
From: Rolf.Guigas@t-online.de
Date: Wed, 21 May 2003 13:39:39 +0200 (CEST)
Message-ID: <1053516754.3ecb63d27128b@webmail.t-online.de>
X-Approved: 784a3675d6fa18b7mwAokspWK03qikLHiZ5U0LUTgG3N9dU_
X-Complaints-To: abuse#webmail@t-online.com
X-Sender: 320087878400-0001@t-dialin.net

I am using CYGWIN bash 2.05b-9 under W2K and want to force output of
echo to
be always textmode.

Echo to a Windows-File (Drive or UNC-Specification) results in unix NL
format, despite setting of CYGWIN=nobinmode before invoking bash:

    bash> echo "something" >> 'd:/tmp/file.log'
    bash> echo "something" >> '//server/share/file.log'


Echo to mounted filesystem results as expected in DOS CR+LF format:

    bash> echo "something" >> '/cygwin/d/file.log'


Does echo - utility disregard CYGWIN - Variable ?

Thanks in advance for your help.

Rolf Guigas

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

