Skip to content

Instantly share code, notes, and snippets.

@sz-alpar
Created February 26, 2017 14:28
Show Gist options
  • Save sz-alpar/4406e27878ed1f0ded59df599a45e86a to your computer and use it in GitHub Desktop.
Save sz-alpar/4406e27878ed1f0ded59df599a45e86a to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "$1" | perl -MURI::Escape -ne 'chomp;print uri_escape($_),"\n"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment