diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2015-07-02 00:15:21 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2015-07-02 00:15:21 +0000 |
commit | 4b54c30ab8914451bc2aa4018629061ff7818f63 (patch) | |
tree | f4f82578843f8e529fb7a83879797bb68ec5185a /tools | |
parent | fa4d7ccab6c575933e42b5ce5152704339316f17 (diff) | |
download | mpfr-4b54c30ab8914451bc2aa4018629061ff7818f63.tar.gz |
[tools/mpfrlint] Check a Texinfo rule (Section "Ending a Sentence")
with common words that end with a capital letter.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9603 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/mpfrlint | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/mpfrlint b/tools/mpfrlint index 5f1f0d1fb..cfd3afb79 100755 --- a/tools/mpfrlint +++ b/tools/mpfrlint @@ -79,6 +79,13 @@ do echo "$file contains unprotected mpfr_printf-like function calls" done +# Check a Texinfo rule (Section "Ending a Sentence") with common words +# that end with a capital letter: +# Use '@.' instead of a period, '@!' instead of an exclamation point, +# and '@?' instead of a question mark at the end of a sentence that +# does end with a capital letter. +grep -E '(LIP|MPFR?|NaN)\)?[.!?]' doc/mpfr.texi | grep -v '^\* .*::' + fdlv1="`sed -n '/Version / { s/.*Version // s/,.*// |