I tried:
find . -name '*.jar' -exec jar tvf {} | grep com.ibm.sslight /dev/null \;
This was the result:
bash-2.03$ find . -name '*.jar' -exec jar tvf {} | grep com.ibm.sslight /dev/null \;
find: incomplete statement
grep: can't open ;
I received this from another post, and it works:
find...
I want to find out which jar file contains a given class. I have many jar files in a directory to search. I tried:
find . -name '*.jar' -exec jar tvf {} \; | grep com.ibm.sslight
This returned the class files in the given package, but it did not return the name of the jar file the package was...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.