This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [ITA] which: GNU which -- finds executables in the path
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Date: Thu, 20 Dec 2007 11:41:58 +0100
- Subject: Re: [ITA] which: GNU which -- finds executables in the path
- References: <4769940F.5010404@acm.org>
- Reply-to: cygwin-apps at cygwin dot com
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