aboutsummaryrefslogtreecommitdiff
path: root/scripts/warn-undocumented
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-06-23 23:31:46 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-06-23 23:38:49 +0300
commit5a4da8bac457f0e70e690a572eba9cf754e69a37 (patch)
tree58e48f1b12722eadbc1b2587b690b30afac54140 /scripts/warn-undocumented
downloadejit-5a4da8bac457f0e70e690a572eba9cf754e69a37.tar.gz
ejit-5a4da8bac457f0e70e690a572eba9cf754e69a37.zip
initial interpeter testing
Diffstat (limited to 'scripts/warn-undocumented')
-rwxr-xr-xscripts/warn-undocumented7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/warn-undocumented b/scripts/warn-undocumented
new file mode 100755
index 0000000..db22249
--- /dev/null
+++ b/scripts/warn-undocumented
@@ -0,0 +1,7 @@
+#!/bin/sh
+# look through all files for either @file or \file
+for file in $@
+do
+ grep -c '[@\]file' "$file" |\
+ awk -F':' "\$1 == 0 {print \"Undocumented file: $file\"}"
+done