summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-02-14 02:16:27 -0500
committerJune McEnroe <june@causal.agency>2019-02-14 02:16:27 -0500
commitae63d67bfd28c9addadea8a05258c54ffcc9a3a9 (patch)
tree62309ab8670a7f4d74450ab051733af42808a7b5
parentAdd forgotten "sixth" book of H2G2 (diff)
downloadsrc-ae63d67bfd28c9addadea8a05258c54ffcc9a3a9.tar.gz
src-ae63d67bfd28c9addadea8a05258c54ffcc9a3a9.zip
Avoid newline when copying URL to pasteboard
-rw-r--r--bin/up.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/up.sh b/bin/up.sh
index 1ca34a1c..5f9f409c 100644
--- a/bin/up.sh
+++ b/bin/up.sh
@@ -54,5 +54,5 @@ done
 : ${fn:=upload}
 
 url=$($fn "$@")
-echo "$url" | pbcopy || true
+printf '%s' "$url" | pbcopy || true
 echo "$url"