Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 2003 10:57:01 -0800 (PST)
From:      Rus Foster <rghf@fsck.me.uk>
To:        abc@dialups-247.anchorage.mtaonline.net
Cc:        freebsd-questions <questions@FreeBSD.ORG>
Subject:   Re: cd *
Message-ID:  <20030303105508.D61837@thor.65535.net>
In-Reply-To: <200302280342.h1S3glH0029968@en26.dialups-247.anchorage.mtaonline.net>
References:  <200302280342.h1S3glH0029968@en26.dialups-247.anchorage.mtaonline.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 Feb 2003 abc@dialups-247.anchorage.mtaonline.net wrote:

> FBSD-4.7R
>
> on other BSD's, and with ftp(1), 'cd x*' will cd
> to the 1st match.  FBSD used to work this way
> as well a few minor versions ago.
>
> these days it crashes with 'too many arguments'
> if there is more than one match.  i 'object'
> to this behavior :)  i would like to report
> it as a bug ...  is there a good reason for
> it's current behavior?
>

Its not FBSD rather than the shell expansion. Depending on the shell it
will act in different ways. So best advice would be either hack the shell
source code or find a shell with different behaviour

just my $0.02

Rus

--
http://www.65535.net | MSN: support@65535.net
           "More bits for your bite"
Email - Web Space - Custom Solutions - Shell Accounts
     Please respect RFC1855 and don't top post

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?20030303105508.D61837>