This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

echo and CYGWIN variable


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]