echo and CYGWIN variable

Rolf.Guigas@t-online.de Rolf.Guigas@t-online.de
Wed May 21 12:44:00 GMT 2003


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/



More information about the Cygwin mailing list