From bf8b049e7feb61d12fe1e940e1e845de646b335e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 26 Apr 2020 12:23:33 +0200 Subject: bin/ii-answer: sanity-check triggered by "Get straight" or "pull yourself together", now --- bin/ii-answer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/ii-answer b/bin/ii-answer index 4259c0f..ed333cb 100755 --- a/bin/ii-answer +++ b/bin/ii-answer @@ -148,7 +148,7 @@ find "${irc_dir}" \ irc_say "${channel}" 'copy' fi # answer "sanity-check" - regex='^\S\+ <\S\+> .*[Gg]et.*\(straight\|together\)' + regex='^\S\+ <\S\+> .*\([Gg]et.*straight\|[Pp]ull.*yourself.*together\)' if grep "${regex}" "${out_file}" | \ grep -q "${sloppy_salutation}"; then sed -i "/${regex}/d" "${out_file}" -- cgit v1.2.3