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 To: cygwin@cygwin.com From: Andrew DeFaria Subject: Re: how to check what cygwin packages are installed on the system ? Date: Tue, 03 Aug 2004 19:19:09 -0700 Lines: 25 Message-ID: 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> <20040803153644.GC19703@trixie.casa.cgf.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: h-67-102-25-114.lsanca54.covad.net User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) In-Reply-To: <20040803153644.GC19703@trixie.casa.cgf.cx> X-IsSubscribed: yes Christopher Faylor wrote: > On Tue, Aug 03, 2004 at 08:19:41AM -0700, Andrew DeFaria wrote: > >> 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 >> > % cygcheck -f /bin/gcc.exe > gcc-3.3.1-3 (Insert your best Johnny Carson voice here) "I did not know that!". And I looked but I just missed it I guess... -- What has four legs and an arm? A happy pit bull. -- 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/