diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-09-13 12:53:05 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-09-13 12:53:05 -0300 |
commit | 4017371fd731907ed3f9cd60b0660ffd36d8acd0 (patch) | |
tree | a17cef469bf6d43c0c6a71b83a8a633d745cd71b | |
parent | 2a0972655f1aa91b721f016ed764962eff7668c0 (diff) | |
download | utils-x11-4017371fd731907ed3f9cd60b0660ffd36d8acd0.tar.gz utils-x11-4017371fd731907ed3f9cd60b0660ffd36d8acd0.tar.bz2 |
Spoolpaste: remove additional newline from pastes
-rwxr-xr-x | spoolpaste | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ if [ ! -z "$1" ]; then echo Set $SPOOL to "$FILE" else - echo -e "\n\n [...]\n" >> $SPOOL + echo -e "\n [...]\n" >> $SPOOL xclip -o | sed -e 's/^\([^ ]\)/ \1/' >> $SPOOL truncated="$(xclip -o | tr '"' "'" | tr '\n' ' ' | cut -c 1-30)..." |