From acfa01e86dd5ce35d96184c3806dea889465dfb9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 23 Aug 2020 09:23:54 +0200 Subject: convert.sh: pidgin format changed ("html") --- convert.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/convert.sh b/convert.sh index be6dff3..a5373af 100755 --- a/convert.sh +++ b/convert.sh @@ -53,8 +53,8 @@ elif [ "$2" = 'tyzoid' ]; then elif [ "$2" = 'html' ]; then channel="$3" sed -n ' - /^/{ - s@^(\([^)]\+\)) @\1 @ + /^/{ + s@^(\([^)]\+\)) @\1 @ /entered the room\.<\/b>$/{ s@^\(\S\+\) \(.*\S\) \[.*] entered the room\.<\/b>$@\1 --> | \2 has joined '"${channel}"' @ p @@ -77,13 +77,13 @@ elif [ "$2" = 'html' ]; then } d } - \@ \*\*\*\S\+ @{ - s@^(\([^)]\+\)) \*\*\*\(\S*\) \(.*\)
$@\1 * | \2 \3@ + \@ \*\*\*\S\+ @{ + s@^(\([^)]\+\)) \*\*\*\(\S*\) \(.*\)
$@\1 * | \2 \3@ p d } - //{ - s@^(\([^)]\+\)) \(\S\+\): @\1 \2 | @ + //{ + s@^(\([^)]\+\)) \(\S\+\): @\1 \2 | @ s@
$@@ p d -- cgit v1.2.3