diff options
author | Marc-Antoine Perennou <Marc-Antoine@Perennou.com> | 2015-01-17 11:16:32 +0100 |
---|---|---|
committer | Marc-Antoine Perennou <Marc-Antoine@Perennou.com> | 2015-01-18 12:02:18 +0100 |
commit | 69ba2a83baa47dd052bcfd807ec8cf9b786f99da (patch) | |
tree | 898d9478e299427b05d66f5621e36e8fb462f750 | |
parent | b1c9a8c1f9b6437a7e0c7c0fbccc985d5406cd95 (diff) | |
download | wgetpaste-69ba2a83baa47dd052bcfd807ec8cf9b786f99da.tar.gz |
only print url to stdout
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
-rwxr-xr-x | wgetpaste | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 } |