This is the mail archive of the
mailing list for the Cygwin project.
RE: Find tool contained in unknown pkg
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: Dave Korn <dave dot korn at artimi dot com>
- Cc: cygwin at cygwin dot com
- Date: Fri, 17 Mar 2006 17:51:08 -0500 (EST)
- Subject: RE: Find tool contained in unknown pkg
- References: <00cb01c64a04$caca7bb0$a501a8c0@CAM.ARTIMI.COM>
- Reply-to: cygwin at cygwin dot com
On Fri, 17 Mar 2006, Dave Korn wrote:
> On 17 March 2006 20:28, Harry Putnam wrote:
> > I've just installed a very minimal cygwin. I noticed the `id' tool is
> > not present and looking on the packages page I don't see it listed
> > separately so I'm guessing it is contained in a package whos name may
> > not reflect its presence.
> > Anyone know which package that might be?
> Since 'id' on its own might give you too many matches, it's worth
> mentioning the handy trick that (this being 'doze not linux really) the
> full name of the program is of course 'id.exe'.
> That narrows it down sufficiently...
Ah, but this will not match scripts or symlinks. Since most executables
live in something that ends in "bin", and the package search page supports
full perl regular expressions, you can do
(which corresponds to a search string "bin/id\b", i.e., a program named
"id" with no more letters after that, in a directory that ends in "bin").
In case of "id" the results are identical, but if you try your approach
with, for example, "vi", you'll find that it doesn't work.
|\ _,,,---,,_ email@example.com | firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html