delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/03/11:40:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: Tue, 3 Aug 2004 17:40:27 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: how to check what cygwin packages are installed on the system ?
Message-ID: <20040803154027.GX31522@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <313680C9A886D511A06000204840E1CF08F430B4 AT whq-msgusr-02 DOT pit DOT comms DOT marconi DOT com> <20040803090946 DOT GN31522 AT cygbert DOT vinschen DOT de> <200408031119 DOT 56503 DOT gernot DOT hillier AT siemens DOT com> <20040803134644 DOT GF16002 AT trixie DOT casa DOT cgf DOT cx> <ceoajf$2la$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <ceoajf$2la$1@sea.gmane.org>
User-Agent: Mutt/1.4.2i

On Aug  3 08:19, Andrew DeFaria wrote:
> Christopher Faylor wrote:
> >And you would do that rather than use the tool designed for providing 
> >the information, because...?
> 
> To answer the question: "Which package brought in this file?" as in:
> 
> $ cd /etc/setup
> $ str=gcc.exe
> $ for pkg in *.gz; do
> >   zcat $pkg | grep -q $str
> >   if [ $? -eq 0 ]; then
> >     echo $str appears in $pkg
> >   fi
> > done

What about

	cygcheck -f

?

Corinna

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

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019