Skip to content

Instantly share code, notes, and snippets.

@rpetrich
Created July 9, 2013 04:48
Show Gist options
  • Save rpetrich/5954796 to your computer and use it in GitHub Desktop.
Save rpetrich/5954796 to your computer and use it in GitHub Desktop.
#!/bin/bash
(
for ARG in "$@"
do
tail -n+6 "$ARG" | awk '{print $2}'
done
) | sort | uniq -c | egrep ^\\s+$# | awk '{print $2}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment