2011-12-8, 10:13(+00), Stephane CHAZELAS:
> 2011-12-07, 12:02(-07), Eric Blake:
> [...]
>> Or even nicer, behave like zsh, and treat
>> cd xxx yyy
>> like this (written assuming extglob syntax)
>> cd xxx+($' \t')yyy
> [...]
>
> Not sure what you're refering to, but
>
> cd xxx yyy
>
> in zsh means
2011-12-07, 12:02(-07), Eric Blake:
[...]
> Or even nicer, behave like zsh, and treat
> cd xxx yyy
> like this (written assuming extglob syntax)
> cd xxx+($' \t')yyy
[...]
Not sure what you're refering to, but
cd xxx yyy
in zsh means
cd ${PWD/xxx/yyy}
--
Stephane
(Sorry, this is reply to Chet Ramey, but I just subscribed to the list
and web interface does not contain enough info to get threads right)
> It's an interesting question. There's a question about whether or not this
> behavior, which is more-or-less traditional, is a bug at all.
I would certain
On 12/7/11 8:21 AM, ha...@noel.feld.cvut.cz wrote:
> Bash Version: 4.2
> Patch Level: 0
> Release Status: release
>
> Description:
> cd silently ignores additional arguments
> pwd, pushd and popd also do ignore additional arguments
>
> This seemes to be a long standing behavior
On 12/07/2011 12:02 PM, Eric Blake wrote:
> Or even nicer, behave like zsh, and treat
> cd xxx yyy
> like this (written assuming extglob syntax)
> cd xxx+($' \t')yyy
Correction:
cd xxx+([$' \t'])yyy
--
Eric Blake ebl...@redhat.com+1-919-301-3266
Libvirt virtualization library http://lib
On 12/07/2011 06:21 AM, ha...@noel.feld.cvut.cz wrote:
> Description:
> cd silently ignores additional arguments
> pwd, pushd and popd also do ignore additional arguments
>
> This seemes to be a long standing behavior, it is the same in bash
> 3.1.17.
>
> Problem is also
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/local/share/locale' -DPACKA