| 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: | <4.3.1.2.20020523190253.0268dc58@pop.ma.ultranet.com> |
| X-Sender: | lhall AT pop DOT ma DOT ultranet DOT com |
| Date: | Thu, 23 May 2002 19:03:54 -0400 |
| To: | macarthy AT iol DOT ie, cygwin AT cygwin DOT com |
| From: | "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> |
| Subject: | Re: Searching for Zipped file contain a file |
| In-Reply-To: | <3CED76C1.7040306@iol.ie> |
| Mime-Version: | 1.0 |
At 07:09 PM 5/23/2002, 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?
This is really off-topic for the Cygwin list. If anyone wants to follow-up,
please do it off-line.
Larry Hall lhall AT rfk DOT com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
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 |