Jar Search
One of my colleague sent this to me.
$ find . -name '*.[jwes]ar' | while read LINE; do grep -q OMSourcedElementImpl "$LINE"; if [ $? -eq 0 ];then echo "$LINE"; jar tvf "$LINE" | grep OMSourcedElementImpl;echo;fi;done
$ find . -name '*.[jwes]ar' | while read LINE; do grep -q OMSourcedElementImpl "$LINE"; if [ $? -eq 0 ];then echo "$LINE"; jar tvf "$LINE" | grep OMSourcedElementImpl;echo;fi;done
Comments
Post a Comment