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

Re: url-escaping a string in a shell script.



also sprach Joost Kooij (on Sat, 21 Jul 2001 01:56:26PM +0200):
>   perl -MURI::Escape -ne 'chomp; print uri_escape($_), "\n"'

in fact, this doesn't seem to work at all:

fishbowl:~> echo '$1$19496519$xnqy/01WTA6pfhLBqZT13.' | \
  perl -MURI::Escape -ne 'chomp; print uri_escape($_), "\n"'
$1$19496519$xnqy/01WTA6pfhLBqZT13.


what am i doing wrong?

martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
-- 
1-800-psych 
hello, welcome to the psychiatric hotline. 
if you are co-dependent, please ask someone to press 2. 

Attachment: pgpsv0cWUX4lW.pgp
Description: PGP signature


Reply to: