From 656e95683afe196e53ce1bd96ac75fe8a6dea5b8 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Thu, 14 Feb 2019 02:16:27 -0500 Subject: Avoid newline when copying URL to pasteboard --- bin/up.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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" -- cgit 1.4.1