Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2001 21:17:54 -0500
From:      Craig Durkin <durkin+fbsd@matter.net>
To:        CB <chris@JEAH.net>
Cc:        questions@freebsd.org
Subject:   Re: your mail
Message-ID:  <20010327211754.A691@matter.net>
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
References:  <1.5.4.32.20010327235125.0066b348@JEAH.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010327211754.A691>