Dear colleagues,
Today Beatrice spotted a typo in d/control that slipped past me, Mattia and Lintian.
I think the situation described in Bug #980853 deserves a new Lintian tag.
As a very first step I crafted the following one-liner to test if I made more similar typos:
find -name control | while read FILE
do
if grep "^[ ,]*$" "$FILE" | grep -q -v "^$"
then
echo "$FILE"
fi
done
I feel the automation of detection is trivial: we check the lines of Description and License fields
of d/control and d/copyright files, respectively, against the regexp like '/^[ ]*[,:+%&-]*$/' and
emit a warning because it breaks i10n.
Sincerely,
Vasyl