Created
June 27, 2018 13:57
-
-
Save indexzero/b947c8f23ba06b6f15d75ea745b73c58 to your computer and use it in GitHub Desktop.
Get all the notes about all polyfills served by polyfill.io
This file contains 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
#!/usr/bin/env bash | |
for FILE in ./*/**/config.json; do | |
PNAME=`dirname "$FILE"`; | |
PJSON=`cat "$FILE" | json notes`; | |
if [ ! -z "$PJSON" ]; then | |
echo "$PNAME $PJSON"; | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment