Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/ii-answer
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-26 18:41:42 +0200
committerErich Eckner <git@eckner.net>2018-09-26 18:41:42 +0200
commit3c1278c520987087f8b830d56367fa63695f1717 (patch)
treea69467116cddeee1c35a064af48127a3be4d08e4 /bin/ii-answer
parent682b7803b7ec90efcfd3ba24fc4c602b7b014118 (diff)
bin/ii-answer: fix sed expression
Diffstat (limited to 'bin/ii-answer')
-rwxr-xr-xbin/ii-answer2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ii-answer b/bin/ii-answer
index 258746b..ea922f8 100755
--- a/bin/ii-answer
+++ b/bin/ii-answer
@@ -21,7 +21,7 @@ new_users=$(
if [ -n "${new_users}" ]; then
printf '%s\n' "${new_users}" | \
sed '
- s/^.*$\n/Hi \0!\n!rq \0/
+ s/^.*$/Hi \0!\n!rq \0/
' | \
irc_say '' 'copy'
fi