This is the mail archive of the
mailing list for the Cygwin project.
Re: PATH conversion bug
- To: Kai Henningsen <kai at cats dot ms>, cygwin at sourceware dot cygnus dot com, earnie_boyd at yahoo dot com
- Subject: Re: PATH conversion bug
- From: "Kai Henningsen" <kai at cats dot ms>
- Date: Fri, 1 Oct 1999 15:01:49 +0200
- Organization: Spuentrup CTI
On 1 Oct 99, at 5:52, Earnie Boyd wrote:
> --- Kai Henningsen <email@example.com> wrote:
> > The following PATH sequence:
> > ;W:.;Z:.;Y:.;X:.;
> > which is typical for drives mapped by the Netware client, gets
> > converted into the following cygwin PATH sequence:
> > ://W.://Z.://Y.://X.:
> > This is a bug and doesn't work.
> Not a cygwin bug!!
Why not? Who else is converting DOS-style PATH variables to
Unix-style PATH variables?
W:. is certainly a legal (if slightly unusual) PATH entry.
//W. is certainly something very different.
I don't see that it can be anything BUT a cygwin bug.
> To solve/workaround this problem, modify the PATH in the ~/.bashrc file to be
> what it should be. NOTE: The smaller the PATH the faster cygwin will be.
PATH="$( echo -n $PATH | sed 's+//\([A-Z]\)\.+//\1+g' )"
seems to work well enough. I suggest putting the equivalent into
the PATH converter.
Regards - Kai Henningsen
Spuentrup CTI Fon: +49 251 322311 0
Windbreede 12 Fax: +49 251 322311 99
D-48157 Münster Mob: +49 161 3223111
Germany GSM: +49 171 7755060
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org