commit 651647bb491b25a1d359c9f924513e75a057e1be parent 99f694271cf527c9aaaf351d1c7e7177461bb9f5 Author: Pavel Renev <an2qzavok@gmail.com> Date: Mon, 19 Feb 2024 23:20:06 +0000 wdb: fix tags script Diffstat:
M | src/wdb/tags | | | 7 | +++++-- |
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/wdb/tags b/src/wdb/tags @@ -2,6 +2,9 @@ # print tag statistics rfork e lib=$home/lib/wdb -tf=$lib/index/tags +tf=$lib/index/all -sed 's/.* //;s/ /\n/g' $tf | sort | uniq -c | sort -r +grep 'tags' $tf | \ +sed 's/ tags \\//' | \ +sed 's/.* //;s/ /\n/g' | \ +sort | uniq -c | sort -r