Chen(é) Jun(å) wrote:
sh -c pwd
It outputs:
/bin
Oouups, what I expect was E:/msys/1.0/bin .
Suprised? You now know what the weird sh.exe does. It checks whether some
token starts with / , if so, it considers that toke a path and applies
trasformation. This is utterly rude. So this sh.exe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Chen (陈) Jun (军) on 1/27/2008 11:01 PM:
| Hi, everyone,
|
| I'm new to this list. I'd like to ask is there a Windows native port of
| Bash or Bourne Shell?
Yes. Search for the MSYS project (layered on top of mingw). If it
doesn't work