From ae63d67bfd28c9addadea8a05258c54ffcc9a3a9 Mon Sep 17 00:00:00 2001 From: Curtis 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