fish/functions/urlencode.fish @ 1ff33bef5984

a bunch more crap
author Steve Losh <steve@stevelosh.com>
date Sun, 29 May 2016 10:19:33 +0000
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