]> arthur.barton.de Git - ngircd.git/commitdiff
contrib/nglog.sh: Looks like GNU awk (gawk) is needed ...
authorAlexander Barton <alex@barton.de>
Sun, 3 May 2020 15:07:51 +0000 (17:07 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 3 May 2020 15:07:51 +0000 (17:07 +0200)
contrib/nglog.sh

index b8dbb200082edb2b264c6c1844497073db43b291..852ee93c1e40498314d19f4d7a2986d31166a208 100755 (executable)
@@ -14,7 +14,7 @@
 # ./src/ngircd/ngircd -f $PWD/doc/sample-ngircd.conf -np | ./contrib/nglog.sh
 #
 
-awk '
+gawk '
   /^\[[[:digit:]]+:0 / {print "\033[1;95m" $0 "\033[0m"}
   /^\[[[:digit:]]+:1 / {print "\033[1;35m" $0 "\033[0m"}
   /^\[[[:digit:]]+:2 / {print "\033[1;91m" $0 "\033[0m"}