ls --color: special char in redirected output

Thomas Anderson t03.anders0n@gmail.com
Mon Jun 23 13:57:00 GMT 2014


Hi, after a recent upgrade (maybe the 20) I have some problem with
special characters and ls --color

For example:

$ ls --color
file.txt  temp/

is ok

but

$ ls --color > ls.txt

is not

$ less ls.txt

file.txt
ls.txt
ESC[0mESC[01;34mtempESC[0m/


I'm on Windows 7 with the 32 bit version.

Bye,
t03

--
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