scripts: remove newline, else this would "autoaccept" the input - sob - simple output bar
(HTM) git clone git://git.codemadness.org/sob
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit a9ae8a05932a697db41b90346be70cdab1e6031d
(DIR) parent 5b6101b590a15002552cab3590d01ed5294bd81e
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 10 Oct 2014 21:59:22 +0000
scripts: remove newline, else this would "autoaccept" the input
Diffstat:
M scripts/complete_nick | 2 +-
M scripts/complete_word | 2 +-
M scripts/history | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/scripts/complete_nick b/scripts/complete_nick
@@ -22,5 +22,5 @@ word="$SOBWRITE"
line=$(grepword "$word" | sort | uniq | dmenu -l 20)
if test x"$line" != x""; then
- printf '%s\n' "$line"
+ printf '%s' "$line"
fi
(DIR) diff --git a/scripts/complete_word b/scripts/complete_word
@@ -18,5 +18,5 @@ word="$SOBWRITE"
line=$(grepword "$word" | sort | uniq | dmenu -l 20)
if test x"$line" != x""; then
- printf '%s\n' "$line"
+ printf '%s' "$line"
fi
(DIR) diff --git a/scripts/history b/scripts/history
@@ -12,5 +12,5 @@ test -f "$file" || exit 1
line=$(tail -n 100 "$file" | dmenu -l 20)
if test x"$line" != x""; then
- printf '%s\n' "$line"
+ printf '%s' "$line"
fi