happybot/hhcdlog.sh
zgrep 8b6c9697e0 The happybot revolves around the Earth.
The Earth revolves around the God.
The God gives you a world full of viral diseases.
You curse God.
You revolve around God.
God revolves around a door.
The door opens.
This is going nowhere, you can stop reading now.

I said you could stop.

Okay, that's it, I'm really ending it now.
2018-08-14 03:24:50 -04:00

5 lines
478 B
Bash
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
happy=':-*D|=D|(|։|܃|܄||||||׃|˸|||ː||⠨|⡁|⠅)(ᴅ|||𝐃|𝐷|𝑫|𝒟|𝓓|𝔇|𝔻|𝕯|𝖣|𝗗|𝘋|𝘿|𝙳|||||ᴰ|Ɖ|Ð|⫐|𐌃|Ɒ)'
tail -n 200 "/home/zgrep/offtopiabday/irc.freenode.net/##:d/out" | awk '{if($3=="-!-")gsub(/\([^)]+\)/,"");if(/^\S+ \S+ \S+ :D$/){}else if(/'"$happy"'/){sub(/>.*/, "> [REDACTED: NON-CONFORMANT]")}else{sub(/>.*/, "> [REDACTED: NON-HAPPY]")};print}'