Skip to content

Instantly share code, notes, and snippets.

@divergentdave
Created September 11, 2016 22:13
Show Gist options
  • Save divergentdave/0985ae1f2fd2a7235ccef0d5bbb6aaa3 to your computer and use it in GitHub Desktop.
Save divergentdave/0985ae1f2fd2a7235ccef0d5bbb6aaa3 to your computer and use it in GitHub Desktop.
#!/bin/sh
set -e
jq -r '.[] | .homepage_url | select(. != null)' ~/oversight.garden/config/inspectors.json | while IFS= read -r line
do
echo $line
curl -ikL $line | (grep -i charset= || true)
echo
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment