Created
March 31, 2016 09:19
-
-
Save fenollp/23c4bf3818ee23995613de299d785897 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
url='http://hands.wtf/build/bundle.js' | |
matches=$(curl $url -s | grep -Eo ',([a-z0-9]{3}):' | sed 's/,//;s/://' | sort -u) | |
to_exclude='102 110 114 116 add arc map max min oss pan poo end fap fps get red set six src sub tan tos uas url uv2 dot fog' | |
exclude='' | |
for word in $to_exclude; do | |
exclude="$exclude;s/$word//" | |
done | |
words=$(echo $matches | sed $exclude) | |
printf "%14s %14s %14s %14s %14s\n" $words |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment