From 7ae1f26cb626563d1864f4f9855d094ccb030f93 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Wed, 17 Jun 2020 11:40:06 -0400 Subject: [PATCH] remove unneeded quotes --- bot.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot.sh b/bot.sh index f61e687..dbb183b 100644 --- a/bot.sh +++ b/bot.sh @@ -90,10 +90,10 @@ do # "#" would mean it's a channel if [[ $from =~ ^#.* ]]; then - test "$(printf "%s" "$line" | grep ":$nick:")" || continue - args=$(printf "%s" "$line" | sed -E "s/.*:$nick:(.*)/\1/") + test "$(printf %s "$line" | grep ":$nick:")" || continue + args=$(printf %s "$line" | sed -E "s/.*:$nick:(.*)/\1/") else - args=$(printf "%s" "$line" | sed -E "s/.*$nick :(.*)/\1/") + args=$(printf %s "$line" | sed -E "s/.*$nick :(.*)/\1/") from="$who" fi