Re: bash silently ignores additional arguments for cd
From:
Stephane CHAZELAS
Subject:
Re: bash silently ignores additional arguments for cd
Date:
Thu, 8 Dec 2011 10:23:23 +0000 (UTC)
User-agent:
slrn/pre1.0.0-18 (Linux)
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
>
> cd ${PWD/xxx/yyy}
And same in AT&T ksh, pdksh and their derivatives (except posh).
--
Stephane