>>> With more than one jar, you will need to double quote the name:
>>>
>>> find . -name "*.jar" -exec ...
Daniel Dyer wrote:
>> I use bash and it's not a problem. I just tried some of the other
>> shells on my machine - sh and ksh didn't need the quotes, only csh did.
> I use bash also. All of them should expand filename globs. Presumably
> you have a version of find which unusually accepts multiple arguments to
> -name.
More likely, Daniel invoked the command from a cwd without any JAR files in
it. Absent any valid expansion of the wildcard, bash leaves it intact.
- Lew
Daniel Dyer - 16 Jan 2007 20:32 GMT
>> I use bash also. All of them should expand filename globs. Presumably
>> you have a version of find which unusually accepts multiple arguments
[quoted text clipped - 4 lines]
>
> - Lew
Yes, that's exactly what I did. Thanks for clearing up the discrepancy.
Dan.

Signature
Daniel Dyer
https://watchmaker.dev.java.net - Evolutionary Algorithm Framework for Java