index : logbot | |
Archlinux32 log bot | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2020-08-23 09:23:54 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-08-23 09:23:54 +0200 |
commit | acfa01e86dd5ce35d96184c3806dea889465dfb9 (patch) | |
tree | 5bad416154801b03de384e63269354bbf09bcfd8 | |
parent | dd0f57248d6889c19d841ededa78c6574c862fb8 (diff) |
-rwxr-xr-x | convert.sh | 12 |
@@ -53,8 +53,8 @@ elif [ "$2" = 'tyzoid' ]; then elif [ "$2" = 'html' ]; then channel="$3" sed -n ' - /^<font size="2">/{ - s@^<font size="2">(\([^)]\+\))</font><b> @\1 @ + /^<span style="font-size: smaller">/{ + s@^<span style="font-size: smaller">(\([^)]\+\))</span><b> @\1 @ /entered the room\.<\/b><br\/>$/{ s@^\(\S\+\) \(.*\S\) \[.*] entered the room\.<\/b><br\/>$@\1 --> | \2 has joined '"${channel}"' @ p @@ -77,13 +77,13 @@ elif [ "$2" = 'html' ]; then } d } - \@</font> <b>\*\*\*\S\+</b></font> @{ - s@^<font color="#[0-9A-F]\{6\}"><font size="2">(\([^)]\+\))</font> <b>\*\*\*\(\S*\)</b></font> \(.*\)<br/>$@\1 * | \2 \3@ + \@</span> <b>\*\*\*\S\+</b></span> @{ + s@^<span style="color: #[0-9A-F]\{6\}"><span style="font-size: smaller">(\([^)]\+\))</span> <b>\*\*\*\(\S*\)</b></span> \(.*\)<br/>$@\1 * | \2 \3@ p d } - /<font size="2">/{ - s@^<font color="#[0-9A-F]\{6\}"><font size="2">(\([^)]\+\))</font> <b>\(\S\+\):</b></font> @\1 \2 | @ + /<span style="font-size: smaller">/{ + s@^<span style="color: #[0-9A-F]\{6\}"><span style="font-size: smaller">(\([^)]\+\))</span> <b>\(\S\+\):</b></span> @\1 \2 | @ s@<br/>$@@ p d |