From owner-freebsd-arch Wed Dec 13 23:51:31 2000 From owner-freebsd-arch@FreeBSD.ORG Wed Dec 13 23:51:29 2000 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from ringworld.nanolink.com (unknown [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 1979B37B400 for ; Wed, 13 Dec 2000 23:51:28 -0800 (PST) Received: (qmail 4882 invoked by uid 1000); 14 Dec 2000 07:50:34 -0000 Date: Thu, 14 Dec 2000 09:50:34 +0200 From: Peter Pentchev To: arch@FreeBSD.org Subject: Re: add -I ignoremask option to du(1) Message-ID: <20001214095033.D575@ringworld.oblivion.bg> Mail-Followup-To: arch@FreeBSD.org References: <20001214034803.C575@ringworld.oblivion.bg> <20001213210739.A87300@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001213210739.A87300@dragon.nuxi.com>; from obrien@FreeBSD.org on Wed, Dec 13, 2000 at 09:07:40PM -0800 Sender: roam@ringworld.nanolink.com Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Dec 13, 2000 at 09:07:40PM -0800, David O'Brien wrote: > On Thu, Dec 14, 2000 at 03:48:04AM +0200, Peter Pentchev wrote: > > Comments? Flames? "Shut-up-already"'s? :) > ... > > +.Op Fl I Ar mask > > I only ask, if you've researched this to find the prior art of which > option letter is most "compatible" for some definition of the word. > Pax(1) would use "-X" for this, and diff(1) both "-x" and "-X". Well, "-x" was what I thought of first, but it was already taken, and with a longtime Unix history, too. "-I" is what cvs(1) uses. I could make it "-i mask" and add "-I maskfile" to match diff(1) though; or would "-I mask", "-X maskfile" be more appropriate? Or drop the maskfile idea at all, and use "-X".. I was also thinking of adding something like -i or -U to specify an 'unignore' mask - names to process even if they match an -I option. diff(1) does not have this at all. cvs(1) uses "-I !mask", but this could make things hard for people used to cvs's also accepting "-I ! mask" - getopt() would choke on that. G'luck, Peter PS. Hm a look at pax(1) and its history suggests that its "-X" has been used for 'no filesystem traversal' ever since its conception, or at least importing into FreeBSD.. This sentence no verb. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message