Shellscript: tinyurl mit Preview
#!/bin/sh
if [ -n "$1" ]; then
        url="$1"
else
        echo "Error: Keine URL"
        exit
fi
curl -s {url}/ | grep -o "http://preview.tinyurl.com/[a-z0-9][a-z0-9]*" | uniq

Schreibe einen Kommentar

You have to agree to the comment policy.