[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: mhirsch at nubridges.com (Michael D. Hirsch)
- Date: Mon, 24 Feb 2003 14:33:06 -0500
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
?
Michael
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale