Work with the response codes of URLs provided via STDIN
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
httpgrep

README.md

httpgrep

Helps to filter and work with the response codes given by URLs.

Examples

Annotation - add the response code to the output with the URL

$ echo -e "http://google.com\nhttp://www.reddit.com" | ruby httpgrep -a
301; http://google.com
200; http://www.reddit.com

Exclude provided response codes from output

$ echo -e "http://google.com\nhttp://www.reddit.com" | ruby httpgrep --exclude 301
http://www.reddit.com