From a848231ae0f346dc7cc000973fbeb65b0894ee92 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 21:59:03 +0200 Subject: Adding upstream version 3.8.5. Signed-off-by: Daniel Baumann --- mantools/check-spell-cc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 mantools/check-spell-cc (limited to 'mantools/check-spell-cc') diff --git a/mantools/check-spell-cc b/mantools/check-spell-cc new file mode 100755 index 0000000..f82a4a3 --- /dev/null +++ b/mantools/check-spell-cc @@ -0,0 +1,8 @@ +#!/bin/sh + +# Spellchecks comments in C source code. See mantools/comment.c for +# 'comment' source code. + +LANG=C; export LANG + +find . -name *.[hc] | xargs cat | comment | mantools/deroff | spell | grep -F -vxf proto/stop | grep -F -vxf proto/stop.spell-cc -- cgit v1.2.3