--- Keith MARSHALL <keith.marshall@...>
> Geffrey Zhang wrote, quoting me:
> >> What version of msys are you using? If it's
> 1.0.10, (which
> >> is still the current stable release), where have
> you obtained
> >> bash-2.05?
> > the bash 2.05b is obtained from mingw :
> Ok, I'd expect that to work then, although I haven't
> found a need to try it. If it ain't broke, don't
> fix it; why
> replace something which works, unless you absolutely
> need some
> feature provided by bash-2.05, which isn't in 2.04?
I just only try it.
> >> Presumably you do actually have a `d:' drive?
> > No, I only use bash-2.05 replaced with bash-2.04,
> I don't change
> > anything more !
> Well, you originally said:
> >>> I found bash-2.05 can't use
> >>> cd d:
> >>> sh: cd: d:: No such file or directory
> If you don't have a `d:' drive, why on earth would
> you expect
> anything else? There really is `no such file or
> directory' as
> `d:'; bash is only telling you that you can't `cd'
> to a
> directory which doesn't exist, which is quite
> > you can test it [the bash-2.05b download].
> I just did; it works perfectly for me.
> $ mkdir ~/bash-2.05
> $ cd ~/bash-2.05
> $ tar xjf /d/local/tmp/bash-2.05b-MSYS.tar.bz2
> $ cp bin/bash.exe /bin/bash205.exe
> $ exec bash205
> $ set | grep BASH_VERSION
> $ bash205 --version
> GNU bash, version 2.05b.0(1)-release (i686-pc-msys)
> Copyright (C) 2002 Free Software Foundation, Inc.
> $ cd d:
> $ pwd
thank you for response!
I have repeat steps as your said, it's okay!
but if you replace /bin/sh.exe with bash205, then just
retry it as following steps
(do these steps in windows explorer)
move sh.exe to sh-2.04.exe
copy bash205.exe to sh.exe
now open mingw command windows: