aboutsummaryrefslogtreecommitdiff
path: root/tasm/scripts/warn-undocumented
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-10-28 00:00:21 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-10-28 00:00:21 +0300
commitd96b8c7d12fc61ec609d6138627b9d6d18139a9a (patch)
tree82bc9a4c2b22de6c021097fb79a57b6d7756a127 /tasm/scripts/warn-undocumented
downloadtri-d96b8c7d12fc61ec609d6138627b9d6d18139a9a.tar.gz
tri-d96b8c7d12fc61ec609d6138627b9d6d18139a9a.zip
move to monorepo
+ Will probably have to make some changes to dir layout to make things make more sense
Diffstat (limited to 'tasm/scripts/warn-undocumented')
-rwxr-xr-xtasm/scripts/warn-undocumented7
1 files changed, 7 insertions, 0 deletions
diff --git a/tasm/scripts/warn-undocumented b/tasm/scripts/warn-undocumented
new file mode 100755
index 0000000..aa7d0f7
--- /dev/null
+++ b/tasm/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