Skip to content

Instantly share code, notes, and snippets.

@indexzero
Created June 27, 2018 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save indexzero/b947c8f23ba06b6f15d75ea745b73c58 to your computer and use it in GitHub Desktop.
Save indexzero/b947c8f23ba06b6f15d75ea745b73c58 to your computer and use it in GitHub Desktop.
Get all the notes about all polyfills served by polyfill.io
#!/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