Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 27 Jun 2005 11:32:27 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Dave Korn cc: cygwin AT cygwin DOT com Subject: RE: Trouble finding the package the command "watch" is in In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 27 Jun 2005, Dave Korn wrote: > ----Original Message---- > >From: John Petritis > >Sent: 27 June 2005 16:11 > > > I am looking for the command named "watch" > > > > I am trying to find the package it is located in. > > > > I haven't had any luck finding it through various search strategies. > > My trouble is probably due to it being such a common word. > > So I have 2 questions? > > > > 1) Which package do I need to install to get the "watch" command > > > > 2) Is there some sort of way I can list what is in packages to find > > which package it is in? > > Go to http://cygwin.com/packages/ and enter the name of the file you're > seeking. It'll tell you which package contains it. > > If you get too many matches, and you know that what you're looking for is > the name of the main executable, you can cut down the false matches by > explicitly appending the '.exe' suffix. Take a look at > > http://cygwin.com/cgi-bin2/package-grep.cgi?grep=watch.exe > > and you'll see there's only two possibilities left. I'll leave it for you > from there! 1) It's usually better to use "bin/watch\b" (or even "bin/watch(\.exe|\s|$)"), which will take care of symlinks and non-exe scripts as well... 2) Once Brian's patch is applied, the latest snapshots (and later Cygwin releases) should allow one to simply run the "cygcheck -p 'bin/watch\b'" to get the results listed on the console (ping CGF)... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/