aboutsummaryrefslogtreecommitdiff
path: root/bin/uri
diff options
context:
space:
mode:
Diffstat (limited to 'bin/uri')
-rwxr-xr-xbin/uri3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/uri b/bin/uri
index 4e57f7c..23716b9 100755
--- a/bin/uri
+++ b/bin/uri
@@ -32,7 +32,8 @@ sub help($fh) {
Encode the URL:
- $ echo 'https://euandre.org' | uri
+ $ echo "https://euandre.org/?q=$(printf '%s' 'a param' | uri)"
+ https://euandre.org/?q=a%20param
Decode the content from the file: