---

blog: Don Marti

---

Escape URLs from the command line

17 April 2005

Quick way to convert text to URL-escaped text:

perl -MCGI -e 'print CGI->escape($ARGV[0]), "\n"' 'Escape This!'