fish/functions/urlencode.fish @ 70b6d271f34d

ocamlol
author Steve Losh <steve@stevelosh.com>
date Thu, 18 Dec 2014 21:59:00 -0500
parents d66bfb2537fe
children (none)
function urlencode -d "Urlencode the plaintext input"
    python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1]);" $argv
end