Created
March 6, 2013 16:09
-
-
Save hardillb/5100426 to your computer and use it in GitHub Desktop.
Quick script to look up http status codes on their wikipedia page
./httprc 200
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
#!/bin/sh | |
links http://en.wikipedia.org/wiki/HTTP_code#$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this requires links and also throws the user into the browser. It's a neat lightweight solution but might benefit from short/long code descriptions, maybe using curl and local parsing to pull out information, with an option to go to the full website (or even the IETF spec).