diff --git a/speak-logs.sh b/speak-logs.sh index 5595e23..29d6368 100644 --- a/speak-logs.sh +++ b/speak-logs.sh @@ -16,6 +16,8 @@ sed -E '/^(..:..) -!- ([^ ]+).*has left \#[^ ]* \[[^]]*\]$/d' | sed -E 's,^(..:..) -!- ([^ ]+) is now known as ([^ ]+)$,\1 \2 became \3,' | # Speak day changes specially sed -E 's,^ --- (Day changed .*)$,\1,' | +# Remove minicat topic diffs +sed -E '/^(..:..) \<\;.minicat\>\; .?\(diff\).*/d' | # Speak timestaps and nicks specially sed -E 's,^(..:..) \<\;.?([^& ]+)\>\;,\1 \2,' | sed -E 's,^(..:..) \* ([^ ]+),\1 action \2,' | @@ -31,8 +33,8 @@ sed -E 's,(https?|gopher)://[^ )>]+, \1 URL,g' | # Handle some common emoticons sed -E 's,\^_\^,happy eyes emoticon,g' | sed -E 's,\\o\/,arms in air emoticon,g' | -sed -E 's,o\/,arm in air emoticon,g' | -sed -E 's,\\o,arm in air emoticon,g' | +sed -E 's,\bo\/,arm in air emoticon,g' | +sed -E 's,\\o\b,arm in air emoticon,g' | sed -E 's,\:\),smiling emoticon,g' | sed -E 's,\(\:,reversed smiling emoticon,g' | sed -E 's,\:\(,sad emoticon,g' |