Skip to content

Instantly share code, notes, and snippets.

@invalidusrname
Last active April 3, 2019 21:07
Show Gist options
  • Save invalidusrname/5543715 to your computer and use it in GitHub Desktop.
Save invalidusrname/5543715 to your computer and use it in GitHub Desktop.
curling some stuff
for url in $(cat ~/urls.txt); do curl --write-out "$url | %{http_code} | %{time_total}\n" --silent -o /dev/null $url; done| sed 's/\(^.*\)\|/<li>\1/g' | sed 's/$/<\/li>/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment