dircolors generates output with '\r\n' ?

Lavrentiev, Anton (NIH/NLM/NCBI) [C] lavr@ncbi.nlm.nih.gov
Thu Jan 30 17:05:00 GMT 2014


Hi,

I was trying to use the dircolor command on CYGWIN, and it did not work because
the two lines, which this command produces are separated by CRLF (which when
sourced by bash are not understood, bash seems to expect single LFs):

LS_OPTIONS='...';\r\n
export LS_OPTIONS\r\n

Why there are Windows-style EOLs in there?

Thanks,

Anton Lavrentiev
Contractor NIH/NLM/NCBI


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



More information about the Cygwin mailing list