delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <3CED7740.4090901@iol.ie> |
Date: | Fri, 24 May 2002 00:12:00 +0100 |
From: | "Justin (Home Office)" <macarthy AT iol DOT ie> |
Reply-To: | macarthy AT iol DOT ie |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020510 |
X-Accept-Language: | en-us, en |
MIME-Version: | 1.0 |
To: | cygwin <cygwin AT cygwin DOT com> |
Subject: | Re: Searching for Zipped file contain a file |
References: | <3CED76C1 DOT 7040306 AT iol DOT ie> |
Please CC to macarthy AT iol DOT ie as Im on digest.. Thanks Justin (Home Office) wrote: > Hi I'm looking for a quick bash script to get a list of all the *.jar > files that have the file SAXParser.class in them > > find /c -name '*.jar' -exec unzip -l '{}' \; | grep 'SAXParser.class' > > /c/results.txt > > This nearly does it, but I really want '{}' (ie the jar filename) > Any bash gurus have an idea? > > > > Thanks J > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |