From 5d29afb530ffdaab4b5032b7422da988b31c0867 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 29 Oct 2023 14:38:33 +0200 Subject: initial working compiled program on simulator --- tdump/scripts/warn-undocumented | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 tdump/scripts/warn-undocumented (limited to 'tdump/scripts/warn-undocumented') diff --git a/tdump/scripts/warn-undocumented b/tdump/scripts/warn-undocumented new file mode 100755 index 0000000..aa7d0f7 --- /dev/null +++ b/tdump/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 -- cgit v1.3