delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/21/07:40:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: echo and CYGWIN variable
From: Rolf DOT Guigas AT t-online DOT 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 AT t-online DOT com
X-Sender: 320087878400-0001 AT t-dialin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019