[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How can I get rid of these funny characters?



On Fri, Mar 14, 2003 at 04:30:21PM -0500, Brian T. Brunner wrote:
> 
> The funny characters are the escape sequences that give color to file names.
> The problem is that filter programs less, more, and others don't
> know to filter them out.
[...]

Actually, 'less' *does* know how to deal with them - use e.g.:

ls -lF --color | less -r

or (may work better):

ls -lF --color | less -R

See man less for details.

Cheerio,

Thomas
-- 
-----------------------------------------------------------------------------
                Thomas Ribbrock    http://www.ribbrock.org 
  "You have to live on the edge of reality - to make your dreams come true!"





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]