[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:22:32 -0500
for $jar *.jar; do
jar -tf $jar '*classname' 2>/dev/null >/dev/null && echo $jar
done
Assuming the classname is of the form foo.class
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.
>
> Can anyone help me out?
> Jason
> _______________________________________________
> 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