[ale] who is the fastest bash scripter?
Geoffrey
esoteric at 3times25.net
Mon Feb 24 15:22:32 EST 2003
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
More information about the Ale
mailing list