Ignore messy topic diffs
This commit is contained in:
parent
bb50d6701c
commit
91b37f0937
|
@ -16,6 +16,8 @@ sed -E '/^(..:..) -!- ([^ ]+).*has left \#[^ ]* \[[^]]*\]$/d' |
|
||||||
sed -E 's,^(..:..) -!- ([^ ]+) is now known as ([^ ]+)$,<meta>\1 \2 became \3</meta>,' |
|
sed -E 's,^(..:..) -!- ([^ ]+) is now known as ([^ ]+)$,<meta>\1 \2 became \3</meta>,' |
|
||||||
# Speak day changes specially
|
# Speak day changes specially
|
||||||
sed -E 's,^ --- (Day changed .*)$,<meta>\1</meta>,' |
|
sed -E 's,^ --- (Day changed .*)$,<meta>\1</meta>,' |
|
||||||
|
# Remove minicat topic diffs
|
||||||
|
sed -E '/^(..:..) \<\;.minicat\>\; .?\(diff\).*/d' |
|
||||||
# Speak timestaps and nicks specially
|
# Speak timestaps and nicks specially
|
||||||
sed -E 's,^(..:..) \<\;.?([^& ]+)\>\;,<meta>\1 \2</meta>,' |
|
sed -E 's,^(..:..) \<\;.?([^& ]+)\>\;,<meta>\1 \2</meta>,' |
|
||||||
sed -E 's,^(..:..) \* ([^ ]+),<meta>\1 action \2</meta>,' |
|
sed -E 's,^(..:..) \* ([^ ]+),<meta>\1 action \2</meta>,' |
|
||||||
|
@ -31,8 +33,8 @@ sed -E 's,(https?|gopher)://[^ )>]+,<meta> \1 URL</meta>,g' |
|
||||||
# Handle some common emoticons
|
# Handle some common emoticons
|
||||||
sed -E 's,\^_\^,<meta>happy eyes emoticon</meta>,g' |
|
sed -E 's,\^_\^,<meta>happy eyes emoticon</meta>,g' |
|
||||||
sed -E 's,\\o\/,<meta>arms in air emoticon</meta>,g' |
|
sed -E 's,\\o\/,<meta>arms in air emoticon</meta>,g' |
|
||||||
sed -E 's,o\/,<meta>arm in air emoticon</meta>,g' |
|
sed -E 's,\bo\/,<meta>arm in air emoticon</meta>,g' |
|
||||||
sed -E 's,\\o,<meta>arm in air emoticon</meta>,g' |
|
sed -E 's,\\o\b,<meta>arm in air emoticon</meta>,g' |
|
||||||
sed -E 's,\:\),<meta>smiling emoticon</meta>,g' |
|
sed -E 's,\:\),<meta>smiling emoticon</meta>,g' |
|
||||||
sed -E 's,\(\:,<meta>reversed smiling emoticon</meta>,g' |
|
sed -E 's,\(\:,<meta>reversed smiling emoticon</meta>,g' |
|
||||||
sed -E 's,\:\(,<meta>sad emoticon</meta>,g' |
|
sed -E 's,\:\(,<meta>sad emoticon</meta>,g' |
|
||||||
|
|
Loading…
Reference in New Issue