Re: bash tab variable expansion question?

2011-02-26 Thread Andreas Schwab
"gnu.bash.bug"  writes:

> What do you mean?
>
> ~-/.  is no equal to $PWD

If you want $PWD, you can use ~+/.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



Re: bash tab variable expansion question?

2011-02-26 Thread gnu.bash.bug

Wow...I'ts good workaround:

$ cd /tmp
$ echo ~+
/tmp

Thanks Andreas!

//Michael


On 26 Feb, 09:09, Andreas Schwab  wrote:
> "gnu.bash.bug"  writes:
> > What do you mean?
>
> > ~-/.  is no equal to $PWD
>
> If you want $PWD, you can use ~+/.
>
> Andreas.
>
> --
> Andreas Schwab, sch...@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."