# URL encoding by RFC 3986 (by line) perl -MURI::Escape -lpe '$_=uri_escape($_)' perl -MURI::Escape -lpe '$_=uri_unescape($_)'