aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-10-07 20:37:32 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-10-07 20:37:32 -0300
commitdf143347be60ad7c33bc0a2b0775c9a2b5c4cf04 (patch)
treeb49c9b743b358dd6b4c60e68347886e72528c448
parentf3e187c7b1f2a0985438275187a19dab8f44dc18 (diff)
downloadutils-x11-df143347be60ad7c33bc0a2b0775c9a2b5c4cf04.tar.gz
utils-x11-df143347be60ad7c33bc0a2b0775c9a2b5c4cf04.tar.bz2
Spoolpaste: minor fix
-rwxr-xr-xspoolpaste2
1 files changed, 1 insertions, 1 deletions
diff --git a/spoolpaste b/spoolpaste
index 2a37324..bc359e0 100755
--- a/spoolpaste
+++ b/spoolpaste
@@ -22,7 +22,7 @@ if [ ! -z "$1" ]; then
echo Set $SPOOL to "$*"
else
- echo -e "\n [...]\n" >> $SPOOL
+ echo -e "\n\n [...]\n" >> $SPOOL
xclip -o | sed -e 's/^\([^ ]\)/ \1/' >> $SPOOL
truncated="$(xclip -o | tr '"' "'" | tr '\n' ' ' | cut -c 1-30)..."