Wednesday, June 17, 2009

The unfurl Script

I am ashamed to say that I recently fell victim to a rickrolling prank, because the not-so-innocent URL was given to me by someone I know.

Then I came across the furl utility (easily installed on my systems using MacPorts), which gave me an idea.

From now on, when I see another such URL, I will just run a simple unfurl script to unroll it. The script simply does the following:
    furl \
| grep -e "^Location"
There! Short and sweet.

Now if someone can come up with a system utility, iChat or browser plug-in that can unroll the URL for me, or perhaps if such a thing already exists, please let me know.

No comments: