[ale] who is the fastest bash scripter?

Geoffrey esoteric at 3times25.net
Mon Feb 24 15:28:46 EST 2003


See my solution, I think it's cleaner. :)

Jason Vinson wrote:
> close...
> 
> for i in *.jar; do echo $i; jar -tf $i| grep <classname>; done
> 
> i just added a echo to it so i could see the current jar file.
> 
> Thanks,
> Jason
> 
> 
> -------Original Message-------
> From: "Michael D. Hirsch" <mhirsch at nubridges.com>
> Sent: 02/24/03 02:33 PM
> To: ale at ale.org
> Subject: Re: [ale] who is the fastest bash scripter?
> 
> 
>>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
> <a target=_blank
> href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
> 
> _______________________________________________
> 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