This is the mail archive of the
cygwin
mailing list for the Cygwin project.
dircolors generates output with '\r\n' ?
- From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr at ncbi dot nlm dot nih dot gov>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Thu, 30 Jan 2014 17:04:50 +0000
- Subject: dircolors generates output with '\r\n' ?
- Authentication-results: sourceware.org; auth=none
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