summaryrefslogtreecommitdiffstats
path: root/help/C/check_status.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 14:32:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 14:32:59 +0000
commitadb934701975f6b0214475d1a8d0d1ce727b9d4d (patch)
tree5688c745d10b64c8856586864ec416a6bdae881d /help/C/check_status.sh
parentInitial commit. (diff)
downloadgedit-bea8f1585f030ea0859221d17717c77aa3e1f4b5.tar.xz
gedit-bea8f1585f030ea0859221d17717c77aa3e1f4b5.zip
Adding upstream version 3.38.1.upstream/3.38.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'help/C/check_status.sh')
-rwxr-xr-xhelp/C/check_status.sh43
1 files changed, 43 insertions, 0 deletions
diff --git a/help/C/check_status.sh b/help/C/check_status.sh
new file mode 100755
index 0000000..deefeb8
--- /dev/null
+++ b/help/C/check_status.sh
@@ -0,0 +1,43 @@
+#!/bin/sh
+
+# 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 " "