merge slight improvement from another copy
authormirabilos <t.glaser@tarent.de>
Wed, 3 Oct 2018 19:28:09 +0000 (21:28 +0200)
committermirabilos <mirabilos@evolvis.org>
Wed, 3 Oct 2018 19:28:09 +0000 (21:28 +0200)
posix/vg

index 99202ec..caccacf 100644 (file)
--- a/posix/vg
+++ b/posix/vg
@@ -1,2 +1,3 @@
 #!/bin/sh
-egrep -h '] (<|«|(-|¬|\[|\[\[|>|\*-> )\ 2|\*\*\* [^ ]* did a CTCP |\* )' ~/sirc.log | tr -d '\ 2'
+egrep -h '] (<|«|(-|¬|\[|\[\[|>|\*-> )\ 2|\*\*\* [^ ]* did a CTCP |\* )' \
+    ${1:-~/sirc.log} | tr -d '\ 2'