Once again I have to figure out which jar file a given class is in. This snippet and variations have been used many times.
for JAR in *.jar ; do if [ `jar -tf $JAR | grep -c bouncy` -gt 0 ] ; then echo $JAR ; fi ; done
Once again I have to figure out which jar file a given class is in. This snippet and variations have been used many times.
for JAR in *.jar ; do if [ `jar -tf $JAR | grep -c bouncy` -gt 0 ] ; then echo $JAR ; fi ; done