Re: Syntax check prohibit_doubled_word: false positives on non-English text

2011-06-05 Thread James Youngman
Thanks for your comments. I had fixed the Texinfo problems substantially as you suggested, but I opted to entirely exempt the .po files from the check. More generally, the sntax-check rules discovered a number of potential improvements for findutils, including unused headers, opportunities to us

Re: Syntax check prohibit_doubled_word: false positives on non-English text

2011-06-05 Thread Jim Meyering
James Youngman wrote: > I had an interesting failure from the prohibit_doubled_word syntax check: > > prohibit_doubled_word_RE_ ?= \ > /\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims > prohibit_doubled_word_ = \ > -e 'while ($(prohibit_d

Syntax check prohibit_doubled_word: false positives on non-English text

2011-06-04 Thread James Youngman
I had an interesting failure from the prohibit_doubled_word syntax check: prohibit_doubled_word_RE_ ?= \ /\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims prohibit_doubled_word_ =\ -e 'while ($(prohibit_doubled_word_RE_))'