fish/functions/urlencode.fish @ 68fb1509991b

Happy New Year
author Steve Losh <steve@stevelosh.com>
date Mon, 02 Jan 2017 12:58:36 +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