commit a9ae8a05932a697db41b90346be70cdab1e6031d
parent 5b6101b590a15002552cab3590d01ed5294bd81e
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:
3 files changed, 3 insertions(+), 3 deletions(-)
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
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
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