]> git.phdru.name Git - bookmarks_db.git/commitdiff
Add script parse_html/count-parsers
authorOleg Broytman <phd@phdru.name>
Fri, 16 Jun 2017 12:39:01 +0000 (15:39 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 16 Jun 2017 12:39:01 +0000 (15:39 +0300)
parse_html/.gitignore [new file with mode: 0644]
parse_html/count-parsers [new file with mode: 0755]

diff --git a/parse_html/.gitignore b/parse_html/.gitignore
new file mode 100644 (file)
index 0000000..0bdd5c9
--- /dev/null
@@ -0,0 +1 @@
+parsers.count-*
diff --git a/parse_html/count-parsers b/parse_html/count-parsers
new file mode 100755 (executable)
index 0000000..d3b9402
--- /dev/null
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+grep -F "Parser parse_html.bkmk_ph_" check2.log | cut -b 36- |
+   sort | uniq -c > parsers.count-"`date \"+%Y-%m-%d\"`"