Blame
Date:
Fri Jan 1 19:03:58 2021 UTC
Message:
Update Platforms.txt - Add aarch64/apple/darwin (Apple CLang 12.0.0) - Add x86_64/unknown/openbsd6.7 (gcc 4.2.1) Thanks to Götz Hoffart
01
2020-04-20
alex
#!/bin/bash
02
2019-11-10
alex
#
03
2019-11-10
alex
# ngIRCd -- The Next Generation IRC Daemon
04
2020-04-19
alex
# Copyright (c)2001-2020 Alexander Barton (alex@barton.de) and Contributors
05
2019-11-10
alex
#
06
2019-11-10
alex
# This program is free software; you can redistribute it and/or modify
07
2019-11-10
alex
# it under the terms of the GNU General Public License as published by
08
2019-11-10
alex
# the Free Software Foundation; either version 2 of the License, or
09
2019-11-10
alex
# (at your option) any later version.
10
2019-11-10
alex
# Please read the file COPYING, README and AUTHORS for more information.
11
2019-11-10
alex
#
12
2019-11-10
alex
# This script parses the log output of ngircd(8), and colorizes the messages
13
2019-11-10
alex
# accoring to their log level. Example usage:
14
2019-11-10
alex
# ./src/ngircd/ngircd -f $PWD/doc/sample-ngircd.conf -np | ./contrib/nglog.sh
15
2019-11-10
alex
#
16
2019-11-10
alex
17
2020-05-03
alex
gawk '
18
2019-12-07
alex
/^\[[[:digit:]]+:0 / {print "\033[1;95m" $0 "\033[0m"}
19
2019-12-07
alex
/^\[[[:digit:]]+:1 / {print "\033[1;35m" $0 "\033[0m"}
20
2019-12-07
alex
/^\[[[:digit:]]+:2 / {print "\033[1;91m" $0 "\033[0m"}
21
2019-12-07
alex
/^\[[[:digit:]]+:3 / {print "\033[1;31m" $0 "\033[0m"}
22
2019-12-07
alex
/^\[[[:digit:]]+:4 / {print "\033[1;33m" $0 "\033[0m"}
23
2019-11-10
alex
/^\[[[:digit:]]+:5 / {print "\033[1m" $0 "\033[0m"}
24
2019-11-10
alex
/^\[[[:digit:]]+:6 / {print $0}
25
2019-11-10
alex
/^\[[[:digit:]]+:7 / {print "\033[90m" $0 "\033[0m"}
26
2020-04-19
alex
' </dev/stdin &
27
2020-04-19
alex
28
2020-04-19
alex
wait
IRCNow