From owner-freebsd-arch Wed Mar 6 22:43:20 2002 Delivered-To: freebsd-arch@freebsd.org Received: from espresso.q9media.com (espresso.q9media.com [216.254.138.122]) by hub.freebsd.org (Postfix) with ESMTP id 7683E37B419 for ; Wed, 6 Mar 2002 22:43:16 -0800 (PST) Received: (from mike@localhost) by espresso.q9media.com (8.11.6/8.11.6) id g276bIQ78447; Thu, 7 Mar 2002 01:37:18 -0500 (EST) (envelope-from mike) Date: Thu, 7 Mar 2002 01:37:18 -0500 From: Mike Barcroft To: Wes Peters Cc: Nate Williams , Alfred Perlstein , arch@FreeBSD.ORG Subject: Re: Sorting and Matching options for ls(1) Message-ID: <20020307013718.D55834@espresso.q9media.com> References: <3C862030.9080108@softweyr.com> <20020306201842.GS77980@elvis.mu.org> <15494.32446.840336.843194@caddis.yogotech.com> <3C862FD0.3040100@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C862FD0.3040100@softweyr.com>; from wes@softweyr.com on Wed, Mar 06, 2002 at 03:03:44PM +0000 Organization: The FreeBSD Project Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Wes Peters writes: > Now make it do one (or either) and only display the filenames: > > bash-2.05$ ./ls -Ss /bin > tcsh unlink cp test sleep > csh rm chmod mkdir echo > sh mv cat kill rmail > ls red df link sync > pax ed chio ln > rcp expr realpath hostname > ps dd pwd domainname > date stty [ rmdir > > > I made all the same arguments to the users who adamantly requested both, > and was told resoundingly that resorting to a pipe with combinations of > grep, sort, and awk was not acceptable. You could at least assume I know > how to read a man page, and use sort and grep. Now, here's the easy part: add new alias entries to the default .cshrc with new magical ls(1) outputs. There is absolutely no reason to add more functionality, that can be handled with other utilities, to ls(1). The fact that ls(1) does column arranging and N other things is bad enough. Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message