changeset 12255:be6572e01f4c draft

<oerjan> t sled lib/karma//s/egrep.*>/egrep \'^<[^>]*>/
author HackEso <hackeso@esolangs.org>
date Fri, 06 Dec 2019 08:05:05 +0000
parents 616be78bd12e
children 821155c00e34
files lib/karma
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/karma	Fri Dec 06 07:54:58 2019 +0000
+++ b/lib/karma	Fri Dec 06 08:05:05 2019 +0000
@@ -1,7 +1,7 @@
 #!/bin/sh
 count () {
     hg log --template '{desc}\n' |
-    egrep '<[^]]*> karma\'$1 |
+    egrep '^<[^>]*> karma\'$1 |
     fgrep -vix "<$2> karma$1 $2" |
     cut -d' ' -f3 |
     fgrep -cix "$2"