From owner-freebsd-questions@FreeBSD.ORG Mon Sep 22 09:42:45 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F273116A4BF for ; Mon, 22 Sep 2003 09:42:44 -0700 (PDT) Received: from priv-edtnes56.telusplanet.net (defout.telus.net [199.185.220.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id A717A44003 for ; Mon, 22 Sep 2003 09:42:38 -0700 (PDT) (envelope-from cpressey@catseye.mine.nu) Received: from kallisti.ca ([207.81.23.108]) by priv-edtnes56.telusplanet.netSMTP <20030922164238.BJHX6747.priv-edtnes56.telusplanet.net@kallisti.ca>; Mon, 22 Sep 2003 10:42:38 -0600 Date: Mon, 22 Sep 2003 09:45:01 -0700 From: Chris Pressey To: Damian Gerow Message-Id: <20030922094501.587d3e7c.cpressey@catseye.mine.nu> In-Reply-To: <20030922160115.GA40572@sentex.net> References: <20030919083627.K99065@wonkity.com> <20030922160115.GA40572@sentex.net> Organization: Cat's Eye Technologies X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: Cat a directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2003 16:42:45 -0000 On Mon, 22 Sep 2003 12:01:15 -0400 Damian Gerow 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