diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-02-24 17:47:39 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-02-24 17:47:39 +0200 |
| commit | 6b5838f72fe535afb542e888d7d2d2da3571bea2 (patch) | |
| tree | aa615a75223027a87ff56c089c0c5b2cc45d00c7 /scripts/warn-undocumented | |
| download | qbt-6b5838f72fe535afb542e888d7d2d2da3571bea2.tar.gz qbt-6b5838f72fe535afb542e888d7d2d2da3571bea2.zip | |
initial commit
+ Now to do the actual hard parts, heh
Diffstat (limited to 'scripts/warn-undocumented')
| -rwxr-xr-x | scripts/warn-undocumented | 7 |
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 |
