[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] who is the fastest bash scripter?
- Subject: [ale] who is the fastest bash scripter?
- From: esoteric at 3times25.net (Geoffrey)
- Date: Mon, 24 Feb 2003 15:28:02 -0500
Michael D. Hirsch wrote:
> On Monday 24 February 2003 02:20 pm, Jason Vinson wrote:
>
>>I want to run a bash script that will do the following:
>>
>>jar -tf *.jar | grep <classname>
>>
>>
>>which will iterate through ./*.jar, and if it finds anything that
>>matches the classname, it will print the jar file name.
>
>
> you mean
>
> for i in *.jar; do jar -tf $i| grep <classname>; done
I believe that will print out the classname, he's looking for the jar
file it's contained in. (I think)
>
> ?
>
> Michael
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
>
--
Until later: Geoffrey esoteric at 3times25.net
The latest, most widespread virus? Microsoft end user agreement.
Think about it...
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale