diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-12-03 22:04:38 +0200 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-12-03 22:04:38 +0200 |
commit | 2253da61e9b3dd5408bed182ea08e5270156c17e (patch) | |
tree | 298bb06e681ec5366faa539906cae6e805fe5862 /scripts/warn-undocumented | |
download | fwd-2253da61e9b3dd5408bed182ea08e5270156c17e.tar.gz fwd-2253da61e9b3dd5408bed182ea08e5270156c17e.zip |
initial commit
+ Lots of code copied from ek, so didn't have to start from scratch, but
might mean there are some quirks here and there that made sense in ek
but not necessarily here.
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 |