shithub: ircs

Download patch

ref: 9e1f7d750e447544d6893712d1bc25ba5d93e010
parent: a90d1130f47c07132f1816366b05f18929911e60
author: kemal <[email protected]>
date: Sun Oct 3 18:06:40 EDT 2021

nojqpn: remove comment

grep does not handle '#' comments, so:

echo '# nojqpn: filter out JOIN/QUIT/PART/NICK' | nojqpn

gets filtered out.

--- a/nojqpn
+++ b/nojqpn
@@ -1,3 +1,2 @@
 #!/bin/grep -vf
-# nojqpn: filter out JOIN/QUIT/PART/NICK
 ^[0-9:]+ (JOIN|QUIT|PART|NICK)