#!/bin/sh -e

curl --silent --head --location --insecure "$(pbpaste)" |
sed 's/^Location: .*/[1;33m&[0m/' |
sed 's/^HTTP.*/[1;31m&[0m/'

read
