This is the mail archive of the cygwin 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]

RE: ls -l | less shows "escape" chars


or switch the alias to "ls --color=auto", which will color for a simple ls
but not when redirecting stdout.

-----Original Message-----
From: Joe
Sent: Thursday, July 01, 2004 9:03 AM
To: cygwin@cygwin.com
Subject: Re: ls -l | less shows "escape" chars

Do you have ls aliased to "ls --color"?

Try:  /bin/ls | less

"geneSmith" <gene.smith@sea.siemens.com> wrote in message
cc112h$9na$1@sea.gmane.org">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

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