ls -l | less shows "escape" chars

geneSmith gene.smith@sea.siemens.com
Thu Jul 1 13:12:00 GMT 2004


Joe wrote, On 7/1/2004 9:02 AM:

> Do you have ls aliased to "ls --color"?
> 
> Try:  /bin/ls | less

That fixes it. Should I not use color?

> 
> "geneSmith" <gene.smith@sea.siemens.com> wrote in message
> news:cc112h$9na$1@sea.gmane.org...
> 
>>When I do "ls -l | less" a typical line looks like this with "ESC" in
>>reverse video and other weird chars. What causes this? Can it be fixed?
>>
>>-rwx------+   1 Administ ????????  1392640 Jul  1 08:31
>>ESC[01;32mNTUSER.DATESC[0m
>>
>>-- 
>>Lit up like Levy's


-- 
Lit up like Levy's


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