Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2003 09:45:01 -0700
From:      Chris Pressey <cpressey@catseye.mine.nu>
To:        Damian Gerow <damian@sentex.net>
Cc:        questions@freebsd.org
Subject:   Re: Cat a directory
Message-ID:  <20030922094501.587d3e7c.cpressey@catseye.mine.nu>
In-Reply-To: <20030922160115.GA40572@sentex.net>
References:  <JA8AAAAAAgH8RAABYQADV7qgzdhU@master.hel.fi> <20030919083627.K99065@wonkity.com> <JA8AAAAAAgMHPAABYQADV7qgzdhU@master.hel.fi> <mailman.1064246223.2719.fquestions-l@lists.sentex.ca> <20030922160115.GA40572@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 Sep 2003 12:01:15 -0400
Damian Gerow <damian@sentex.net> wrote:

> Thus spake Chris Pressey (cpressey@catseye.mine.nu) [22/09/03 11:54]:
> > Also, I believe 'GNU ls', in the ports, supports coloured directory
> > listings.
> 
> As does FreeBSD's ls.  From 'man 1 ls':
> 
>     -G		Enable colorized output.  This option is equivalent to
> 		defining CLICOLOR in the environment.  (See below.)

Yes, but actually, I was mistaken; neither FreeBSD's ls nor GNU ls seems
to support coloured directory listings in the style the OP indicated:

> [Mikael Karlsson]
> As it would make finding certain files easier by coloring them
> differently depending on their ending.

I can't find any way to get either of these ls programs to colour based
on (say) sh-style regexps.  But there's probably a program out there
somewhere that does...

-Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030922094501.587d3e7c.cpressey>