Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Date: Tue, 3 Aug 2004 17:40:27 +0200 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: how to check what cygwin packages are installed on the system ? Message-ID: <20040803154027.GX31522@cygbert.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <313680C9A886D511A06000204840E1CF08F430B4@whq-msgusr-02.pit.comms.marconi.com> <20040803090946.GN31522@cygbert.vinschen.de> <200408031119.56503.gernot.hillier@siemens.com> <20040803134644.GF16002@trixie.casa.cgf.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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@cygwin.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/