From 5863040f9323e210df0908333c6e85d63af000c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Mon, 26 Sep 2022 12:39:26 +0200 Subject: Update documentation, clean up --- xD-gen-replies.awk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xD-gen-replies.awk') diff --git a/xD-gen-replies.awk b/xD-gen-replies.awk index c9e8882..015e743 100755 --- a/xD-gen-replies.awk +++ b/xD-gen-replies.awk @@ -2,14 +2,14 @@ BEGIN { # The message catalog is a by-product msg = "xD.msg" - print "$quote \"" > msg; - print "$set 1" > 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); + match($0, /".*"/) + ids[$1] = $2 + texts[$2] = substr($0, RSTART, RLENGTH) print $1 " " texts[$2] > msg } -- cgit v1.2.3