From: lace <> Date: Sun, 21 Dec 2008 18:08:55 +0000 (+0000) Subject: +function uri_escape X-Git-Url: http://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=db298625c333db7c7a382cd29d718a8045303ed1 +function uri_escape +function uri_unescape --- diff --git a/.bashrc b/.bashrc index 26afe36..7a125a3 100644 --- a/.bashrc +++ b/.bashrc @@ -318,6 +318,8 @@ function gdbcvscheckout {(set -ex #(set +x;cvsignoresall) (set +x;ignoresall) );} +function uri_escape { perl -MURI::Escape -le '$_=<>;chomp;print uri_escape $_;'; }; +function uri_unescape { perl -MURI::Escape -le '$_=<>;chomp;print uri_unescape $_;'; }; ulimit -S -c 0 set +H