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
commit656e95683afe196e53ce1bd96ac75fe8a6dea5b8 (patch)
treea3ae0f36990058a7aba9b374a2402b382ec92d5c
parentAdd forgotten "sixth" book of H2G2 (diff)
downloadsrc-656e95683afe196e53ce1bd96ac75fe8a6dea5b8.tar.gz
src-656e95683afe196e53ce1bd96ac75fe8a6dea5b8.zip
Avoid newline when copying URL to pasteboard
Diffstat (limited to '')
-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"