From owner-freebsd-arch Wed Mar 6 23:15: 1 2002 Delivered-To: freebsd-arch@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id C071337B405 for ; Wed, 6 Mar 2002 23:14:56 -0800 (PST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 9D8547830D; Thu, 7 Mar 2002 17:44:54 +1030 (CST) Date: Thu, 7 Mar 2002 17:44:54 +1030 From: Greg Lehey To: Mathieu Arnold Cc: Wes Peters , arch@freebsd.org Subject: Re: Sorting and Matching options for ls(1) Message-ID: <20020307174454.J66287@wantadilla.lemis.com> References: <3C862030.9080108@softweyr.com> <2064317359.1015488572@sauron> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2064317359.1015488572@sauron> User-Agent: Mutt/1.3.23i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF 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 On Thursday, 7 March 2002 at 8:09:32 +0100, Mathieu Arnold wrote: > > --On mercredi 6 mars 2002 13:57 +0000 Wes Peters wrote: > >> At the request of several FreeBSD users, I have developed the following >> two options for ls(1): > > while we're on ls, I found out yesterday that on a recent linux redhat that > when doing just a ls (just file names), it the columns were not larger than > the length of the largest file name in it (+3) as in freebsd, all columns > are equal : I think what you're saying here is that the columns are of different widths, right, just big enough for the largest file in each of them. > $ ls /bin/ > arch cpio false loadkeys ps su > ash csh fgrep login pwd sync > ash.static cut gawk ls red tar > awk date gawk-3.0.6 mail rm tcsh > basename dd gettext mkdir rmdir touch > bash df grep mknod rpm true > bash2 dmesg gtar mktemp rvi umount > bsh dnsdomainname gunzip more rview uname > cat doexec gzip mount sed usleep > chgrp domainname hostname mv setserial vi > chmod echo igawk netstat sh view > chown ed ipcalc nice sleep vimtutor > consolechars egrep kill nisdomainname sort > ypdomainname The previous two lines were broken by your MUA, right? They weren't intended to make a point about how Red Hat arranges things? > cp ex ln ping stty zcat > > that's a neat feature I believe, don't you ? No, I think it's decidedly untidy. I have to use Red Hat in my Real Job, and I find it one of the many irritating things about it. Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message