delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/01/09:15:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <F76C9B2DA2FC4C4CA0A18E288BBCBCF708217B52@nihexchange24.nih.gov>
From: "Buchbinder, Barry (NIH/NIAID)" <BBuchbinder AT niaid DOT nih DOT gov>
To: cygwin AT cygwin DOT com
Subject: RE: ls -l | less shows "escape" chars
Date: Thu, 1 Jul 2004 09:14:35 -0400
MIME-Version: 1.0
X-IsSubscribed: yes

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 AT cygwin DOT com
Subject: Re: ls -l | less shows "escape" chars

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

Try:  /bin/ls | less

"geneSmith" <gene DOT smith AT sea DOT siemens DOT com> wrote in message
news:cc112h$9na$1 AT sea DOT gmane DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019