This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITA] which: GNU which -- finds executables in the path


On Dec 19 13:58, David Rothenberger wrote:
> Corinna suggested[1] that the Cygwin which be replaced with the GNU
> version and asked for a volunteer maintainer. I'm willing to do
> this.

Cool, thank you!

>   http://mysite.verizon.net/res00a7j/cygwin/which/setup.hint \
>   http://mysite.verizon.net/res00a7j/cygwin/which/which-2.18-1-src.tar.bz2 \
>   http://mysite.verizon.net/res00a7j/cygwin/which/which-2.18-1.tar.bz2

Packaging looks good to me, but there's something strange:

  $ ./which -v
  GNU which v2.18, Copyright (C) 1999 - 2007 Carlo Wood.
  [...]
  $ ./which ls
  /usr/bin/ls
  $ ./which regedit
  ./which: no regedit in (/home/corinna/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/usr/bin)
  $ ./which regedit.exe
  ./which: no regedit.exe in (/home/corinna/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/usr/bin)

Old which:

  $ which regedit
  /cygdrive/c/Windows/regedit
  $ which regedit.exe
  /cygdrive/c/Windows/regedit.exe

Can you look into this?


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]