summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Youngman <jay@gnu.org>2011-06-11 21:09:40 +0100
committerJames Youngman <jay@gnu.org>2011-06-12 02:44:21 +0100
commitadd5d62b747be8c76f78f4ede5b0f1f28df25639 (patch)
tree3cdae0948793bbe6d51f404996c07248d95a8300
parent6fe013394441dbf44b044c7d6c0e0f2c1b0f9f07 (diff)
downloadfindutils-add5d62b747be8c76f78f4ede5b0f1f28df25639.tar.gz
Enable the sc_texinfo_acronym check
* cfg.mk: Enable the sc_texinfo_acronym check. Exempt doc/perm.text, which isn't ours anyway. * doc/find.texi (Deleting Files): Say just POSIX rather than @acronym{POSIX}, simply because this is the convention in GNU documentation. The motivation is that it's hard to do so consistently (because, for example, you can't use @acronym in a node name).
-rw-r--r--ChangeLog9
-rw-r--r--cfg.mk7
-rw-r--r--doc/find.texi2
3 files changed, 13 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 2be836e6..952b1cef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,15 @@
2011-06-11 James Youngman <jay@gnu.org>
+ Enable the sc_texinfo_acronym check
+ * cfg.mk: Enable the sc_texinfo_acronym check. Exempt
+ doc/perm.text, which isn't ours anyway.
+ * doc/find.texi (Deleting Files): Say just POSIX rather than
+ @acronym{POSIX}, simply because this is the convention in GNU
+ documentation. The motivation is that it's hard to do so
+ consistently (because, for example, you can't use @acronym in a
+ node name).
+
Enable syntax check sc_obsolete_symbols.
(exclude_file_name_regexp--sc_obsolete_symbols): Don't check
build-aux/src-sniff.py.
diff --git a/cfg.mk b/cfg.mk
index 4c7950ad..99c50573 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -38,11 +38,10 @@ local-checks-to-skip += sc_two_space_separator_in_usage
# apart later.
local-checks-to-skip += sc_trailing_blank
-# Problems we can't esaily fixed because they apply to files which we need
-# to keep in sync, so can't easily make a local change to.
+# Problems we can't easily fix because they apply to files which we
+# need to keep in sync, so can't easily make a local change to.
# sc_texinfo_acronym: perms.texi from coreutils uses @acronym{GNU}.
-local-checks-to-skip += \
- sc_texinfo_acronym
+exclude_file_name_regexp--sc_texinfo_acronym = doc/perm\.texi
# sc_prohibit_strcmp is broken because it gives false positives for
# cases where neither argument is a string literal.
diff --git a/doc/find.texi b/doc/find.texi
index 017ed918..4f2e3c87 100644
--- a/doc/find.texi
+++ b/doc/find.texi
@@ -4448,7 +4448,7 @@ command to cause the deletion of a file that you can delete but they
normally cannot.
The problem occurs because the @samp{-exec} action is defined by the
-@acronym{POSIX} standard to invoke its command with the same working directory
+POSIX standard to invoke its command with the same working directory
as @code{find} had when it was started. This means that the arguments
which replace the @{@} include a relative path from @code{find}'s
starting point down the file that needs to be deleted. For example,