From owner-freebsd-questions Tue Mar 27 18:18:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail5.atl.bellsouth.net (mail5.atl.bellsouth.net [207.203.120.24]) by hub.freebsd.org (Postfix) with ESMTP id D666637B719 for ; Tue, 27 Mar 2001 18:18:15 -0800 (PST) (envelope-from durkin+gavsar@matter.net) Received: from matter.net (adsl-20-74-101.asm.bellsouth.net [66.20.74.101]) by mail5.atl.bellsouth.net (3.3.5alt/0.75.2) with ESMTP id VAA22661; Tue, 27 Mar 2001 21:20:54 -0500 (EST) Received: (from durkin@localhost) by matter.net (8.11.1/8.11.1) id f2S2Hsn01130; Tue, 27 Mar 2001 21:17:54 -0500 (EST) X-Authentication-Warning: gigantor.matter.net: durkin set sender to durkin+gavsar@matter.net using -f Date: Tue, 27 Mar 2001 21:17:54 -0500 From: Craig Durkin To: CB Cc: questions@freebsd.org Subject: Re: your mail Message-ID: <20010327211754.A691@matter.net> References: <1.5.4.32.20010327235125.0066b348@JEAH.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1.5.4.32.20010327235125.0066b348@JEAH.net>; from chris@JEAH.net on Tue, Mar 27, 2001 at 05:51:25PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 27, 2001 at 05:51:25PM -0600, CB wrote: > awww# cd pic* > pic*: Ambiguous. > awww# > > In this directory there is "pic22.tgz" and "pic22/" > > You would think that if you type "cd" and there are no other directories > that match the argument specified, it would simply go to the only directory > that matches. > > Why doesn't it? > As well, the * operator is blind to what command is being used (such as cd). It's not meant for program-specific matching. It's meant only for generic pattern matching. Cheers Craig To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message