[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

url-escaping a string in a shell script.

assuming that i have a string of the form "123%%%blabla*($(" available
in the shell script, how can i convert that into an escaped version
for use with the HTTP protocol? i am not a perl wizard, or else i
wouldn't ask. and maybe there is a better way.

martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
if you don't understand or are scared by any of
the above ask your parents or an adult to help you.

Attachment: pgpafRta2JgH6.pgp
Description: PGP signature

Reply to: