It is currently Tue, 19 Jun 2018 21:00:45 GMT

Author Message
 double slash in path (Cygwin & zsh)
I don't know if this is an issue with zsh, cygwin, or "which", but
maybe someone knows.

When using Cygwin, if I type "which perl", and I'm using the bash
shell, I get:


as my answer. If I switch to zsh and type the same thing ("which
perl"), I get:


with a double slash in the path. Since the only variable that changed
is the shell, I'm guessing it's the shell's doing, but I'm not sure.

Any idea what that double slash is about?


 Fri, 15 Jul 2005 15:36:22 GMT   
 double slash in path (Cygwin & zsh)
On 26 Jan 2003 23:36:22 -0800, Tuang <> wrote:

Check your PATH variable, there's probably
/cygdrive/c/Perl/bin/ in it instead of /cygdrive/c/Perl/bin

which is built in zsh, that may be  why you get a different
result than with /usr/bin/which. (with the /usr/bin/which I have
here, I get a double / also, also with pdksh "type")


 Fri, 15 Jul 2005 16:38:58 GMT   
 double slash in path (Cygwin & zsh)

I'm using Cygin/bash and do not get symptoms with my zsh 4.0.6.
It might related to what your path is.  I get '/usr/bin/perl'
with bash/which.  Here's my PATH (haven't experienced any probs
with it):




- Show quoted text -

 Fri, 15 Jul 2005 19:25:12 GMT   
 double slash in path (Cygwin & zsh)

Just to add that, as you probably know, the double slash will be
treated as a single slash in path names, so there is no real need
for concern.


 Sat, 16 Jul 2005 17:54:02 GMT   
   [ 4 post ] 

Similar Threads

1. CYGWIN zsh problem

2. cygwin zsh problem with FC edit on windows nt

3. reverse proxying, double-authentication and trailing slashes

4. dot slash commands and paths during telnet

5. Replace with SED, slashes in path

6. Bash path question in Cygwin

7. cygwin bash path problem

8. zsh: if [[ why-double-brackets ]]

9. Trying to change PATH in BASH under Cygwin

10. Symbolic links to directories: slash or no slash?

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software