From 50057d5149dda340b3b47aca4096f4a6ec66b9ee Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Fri, 6 Aug 2021 16:12:15 +0200 Subject: Come up with sillier names for the binaries I'm not entirely sure, but it looks like some people might not like jokes about the Holocaust. On a more serious note, the project has become more serious over the 7 or so years of its existence. --- kike-gen-replies.sh | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100755 kike-gen-replies.sh (limited to 'kike-gen-replies.sh') diff --git a/kike-gen-replies.sh b/kike-gen-replies.sh deleted file mode 100755 index 004da2b..0000000 --- a/kike-gen-replies.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -LC_ALL=C exec awk ' - BEGIN { - # The message catalog is a by-product - msg = "kike.msg" - print "$quote \"" > msg; - print "$set 1" > msg; - } - /^[0-9]+ *IRC_(ERR|RPL)_[A-Z]+ *".*"$/ { - match($0, /".*"/); - ids[$1] = $2; - texts[$2] = substr($0, RSTART, RLENGTH); - print $1 " " texts[$2] > msg - } - END { - printf("enum\n{") - for (i in ids) { - if (seen_first) - printf(",") - seen_first = 1 - printf("\n\t%s = %s", ids[i], i) - } - print "\n};\n" - print "static const char *g_default_replies[] =\n{" - for (i in ids) - print "\t[" ids[i] "] = " texts[ids[i]] "," - print "};" - }' -- cgit v1.2.3-54-g00ecf