diff options
| author | Mistivia <i@mistivia.com> | 2025-11-05 15:34:49 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-11-05 15:34:49 +0800 |
| commit | 95caa5bdaff4e5b5a924a9141b51c756a57abc0f (patch) | |
| tree | bb0ff8eddfe8a06558317464cea14405e76b7ebc /deprecated-ngircd/contrib/nglog.sh | |
| parent | 8532af453ccc9071ddc919b063788d6b496af991 (diff) | |
remove deprecated
Diffstat (limited to 'deprecated-ngircd/contrib/nglog.sh')
| -rwxr-xr-x | deprecated-ngircd/contrib/nglog.sh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/deprecated-ngircd/contrib/nglog.sh b/deprecated-ngircd/contrib/nglog.sh deleted file mode 100755 index cb4eb3e..0000000 --- a/deprecated-ngircd/contrib/nglog.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash -# -# ngIRCd -- The Next Generation IRC Daemon -# Copyright (c)2001-2020 Alexander Barton (alex@barton.de) and Contributors -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# Please read the file COPYING, README and AUTHORS for more information. -# -# This script parses the log output of ngircd(8), and colorizes the messages -# according to their log level. Example usage: -# ./src/ngircd/ngircd -f $PWD/doc/sample-ngircd.conf -np | ./contrib/nglog.sh -# - -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"} - /^\[[[:digit:]]+:3 / {print "\033[1;31m" $0 "\033[0m"} - /^\[[[:digit:]]+:4 / {print "\033[1;33m" $0 "\033[0m"} - /^\[[[:digit:]]+:5 / {print "\033[1m" $0 "\033[0m"} - /^\[[[:digit:]]+:6 / {print $0} - /^\[[[:digit:]]+:7 / {print "\033[90m" $0 "\033[0m"} -' </dev/stdin & - -wait |
