Mail Archives: djgpp-workers/2003/09/02/17:25:18
Hello.
DJ Delorie wrote:
>
> > This must be a djgpp-ism? (There's no equivalent of /dev/c
> > under Linux or Solaris, is there?) Anyway, it does seem
> > desirable that "cd `pwd`" DTRT....
>
> Bash keeps track of where it thinks you are, and just reports that
> when you ask. A standalone pwd.exe may give different results, just
> like Linux.
Yes, a stand-alone pwd does give different results:
bash-2.04$ pwd
/dev/v
bash-2.04$ /djgpp/bin/pwd.exe
c:/djgpp/bin
Note that I have no v: drive on my computer:
bash-2.04$ cd /dev/v/
bash: cd: /dev/v/: No such file or directory (ENOENT)
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -