Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/sh
TMPCP=/tmp/badcp.txt
lein cp | tr ':' '\n' > $TMPCP
while read line; do
find "$line" -name "*.jar" -exec sh -c 'jar -tf {}| grep -H --label {} '$1'' \;
done < "$TMPCP"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment