X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mkfile;h=47c18066bf31597ff354f017d2da0815cf0789d4;hb=6eac07af1ef9ef8c977778e0209e74a6d8f1f267;hp=e9a6d991f1c80388eea97a54436626bebbfe4423;hpb=00d7bc9269a24b8ed85d9e86bd9528a10afda857;p=~andy%2Frhawk diff --git a/mkfile b/mkfile index e9a6d99..47c1806 100644 --- a/mkfile +++ b/mkfile @@ -5,10 +5,12 @@ test:Q: rm -f var/sp_cur.json #awk -f rhawk < testirc.txt #awk -f rhawk < testirc.txt - awk -f test.awk test.txt \ - | awk '-vDEBUG=1' -frhawk 2>&1 \ - | grep -v '^ >\|USER\|NICK\|CAP\|JOIN\|TOPIC\|WHO\|unicode' - #| grep 'points\|bid\|took' + awk -f test.awk spades.txt \ + | awk '-vDEBUG=1' -frhawk 2>&1 1>/dev/null \ + | grep -v '^ > \(USER\|NICK\|CAP\|JOIN\|TOPIC\|WHO\)' \ + | grep -v '^ . .*\(ACCOUNT\|IDENTIFY\|unicode\|colors\)' \ + | sed -e 's/^ > PRIVMSG #\w* :/rhawk:\t/' \ + -e 's/^ < :\([^!]*\)![^ ]* PRIVMSG #\w* :/\1:\t/ ' test-select:Q: select.so #awk -f select.awk