From owner-cvs-all Wed Jul 19 12:35:44 2000 Delivered-To: cvs-all@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [216.28.46.6]) by hub.freebsd.org (Postfix) with ESMTP id 5E6B337C025; Wed, 19 Jul 2000 12:35:35 -0700 (PDT) (envelope-from billf@jade.chc-chimes.com) Received: by jade.chc-chimes.com (Postfix, from userid 1001) id 88BA81C66; Wed, 19 Jul 2000 15:35:34 -0400 (EDT) Date: Wed, 19 Jul 2000 15:35:34 -0400 From: Bill Fumerola To: Sheldon Hearn Cc: obrien@FreeBSD.org, Archie Cobbs , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ifconfig ifconfig.c Message-ID: <20000719153534.D51462@jade.chc-chimes.com> References: <20000719152039.B51462@jade.chc-chimes.com> <6828.964034781@axl.ops.uunet.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <6828.964034781@axl.ops.uunet.co.za>; from sheldonh@uunet.co.za on Wed, Jul 19, 2000 at 09:26:21PM +0200 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jul 19, 2000 at 09:26:21PM +0200, Sheldon Hearn wrote: > > The main reason is that ? is a (for all intents and purposes) a reserved > > shell character and typing: > > > > foo -\? > > Right, that makes sense, I suppose. I must admit that I've never been > bitten by this myself, but I suppose it'd be problematic if one had a > file in the working directory whose name was composed of two characters, > the first of which was a dash. > > Talk about edge cases. :-) [hawk-billf] /usr/ports/net/ethereal/pkg > ls -? zsh: no matches found: -? [hawk-billf] /usr/ports/net/ethereal/pkg > ls -\? ls: illegal option -- ? usage: ls [-ACFGHLPRTWacdfgiklnoqrstu1] [file ...] It's worse then just the edge case, the shell is going to try and expand it no matter what. > But I hear you. It was a bit presumptuous to call the way I do things > "the UNIX way" just because I can't remember who taught it to me. :-) We all make mistakes, and I made this one too :-> -- Bill Fumerola - Network Architect, BOFH / Chimes, Inc. billf@chimesnet.com / billf@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message