summaryrefslogtreecommitdiffstats
path: root/gnome-help/C/check_status.sh
diff options
context:
space:
mode:
authorPhil Bull <philbull@gmail.com>2010-12-31 17:14:03 +0000
committerPhil Bull <philbull@gmail.com>2010-12-31 17:14:03 +0000
commitb9df606da614a14d6e33865398653ed103a01910 (patch)
tree85d2a62ef8ccfd0ba67b88811627cea7d19f7c38 /gnome-help/C/check_status.sh
parentc8469cf5d3546a41cab18620d38d7e573544b80f (diff)
downloadgnome-user-docs-b9df606da614a14d6e33865398653ed103a01910.tar.gz
gnome-user-docs-b9df606da614a14d6e33865398653ed103a01910.tar.xz
gnome-user-docs-b9df606da614a14d6e33865398653ed103a01910.zip
Wrote hacky little script to report on topic statuses
Diffstat (limited to 'gnome-help/C/check_status.sh')
-rwxr-xr-xgnome-help/C/check_status.sh43
1 files changed, 43 insertions, 0 deletions
diff --git a/gnome-help/C/check_status.sh b/gnome-help/C/check_status.sh
new file mode 100755
index 0000000..1cd3d16
--- /dev/null
+++ b/gnome-help/C/check_status.sh
@@ -0,0 +1,43 @@
+#!/bin/bash
+
+# Produce a summary of the statuses of all of the .page topics
+# (Not done properly, but it's OK for a rough estimate)
+# DO NOT TRANSLATE
+
+echo " "
+echo "== NONE =="
+grep -l "status=\"none" *.page
+echo " "
+echo "== STUB =="
+grep -l "status=\"stub" *.page
+echo " "
+echo "== INCOMPLETE =="
+grep -l "status=\"incomplete" *.page
+echo " "
+echo "== DRAFT =="
+grep -l "status=\"draft" *.page
+echo " "
+echo "== REVIEW =="
+grep -l "status=\"review" *.page
+echo " "
+echo "== CANDIDATE =="
+grep -l "status=\"candidate" *.page
+echo " "
+echo "== FINAL =="
+grep -l "status=\"final" *.page
+echo " "
+echo "== OUTDATED =="
+grep -l "status=\"outdated" *.page
+
+echo " "
+echo " "
+echo "== SUMMARY =="
+echo "None: " `grep "status=\"none" *.page | wc -l`
+echo "Stub: " `grep "status=\"stub" *.page | wc -l`
+echo "Incomplete: " `grep "status=\"incomplete" *.page | wc -l`
+echo "Draft: " `grep "status=\"draft" *.page | wc -l`
+echo "Review: " `grep "status=\"review" *.page | wc -l`
+echo "Candidate: " `grep "status=\"candidate" *.page | wc -l`
+echo "Final: " `grep "status=\"final" *.page | wc -l`
+echo "Outdated: " `grep "status=\"outdated" *.page | wc -l`
+echo " "