summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Ørsted Andresen <github@zlin.dk>2015-01-18 15:31:02 +0100
committerBo Ørsted Andresen <github@zlin.dk>2015-01-18 15:31:02 +0100
commit65446d8eba36252d6ffd81144c6a34610dffe10f (patch)
tree898d9478e299427b05d66f5621e36e8fb462f750
parentb1c9a8c1f9b6437a7e0c7c0fbccc985d5406cd95 (diff)
parent69ba2a83baa47dd052bcfd807ec8cf9b786f99da (diff)
downloadwgetpaste-65446d8eba36252d6ffd81144c6a34610dffe10f.tar.gz
Merge pull request #1 from Keruspe/master
only print url to stdout
-rwxr-xr-xwgetpaste3
1 files changed, 2 insertions, 1 deletions
diff --git a/wgetpaste b/wgetpaste
index ebf9658..6471529 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -445,7 +445,8 @@ showexpirations() {
}
showurl() {
- echo "Your ${2}paste can be seen here: $1"
+ echo -n "Your ${2}paste can be seen here: " >&2
+ echo "$1"
[[ $XPASTE ]] && x_paste "$1" primary
[[ $XCLIPPASTE ]] && x_paste "$1" clipboard
}