On 09/23/2010 10:47 AM, Keith Thompson wrote:
> I'm not sure whether this is a bug (the documentation doesn't address
> this case), but it's at least mildly annoying.
>
> If you invoke the "cd" commands with extra arguments after the directory
> name, all the extra arguments are silently ignored.
I would really love it if bash copied the zsh behavior here:
cd a b
tries to find a directory matching the extglob
a+([$' \t'])b
and fails if there are multiple matches or no matches. Certainly less
typing than remembering to quote the argument, via cd 'a b'.
--
Eric Blake eblake@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc Description: OpenPGP digital signature