tueda / makefile4latex

A GNU Makefile for typesetting LaTeX documents.
MIT License
26 stars 3 forks source link

lint_aspell: should use word search #27

Closed tueda closed 3 years ago

tueda commented 3 years ago
\documentclass{article}
\begin{document}
The quic brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
\end{document}
$ make LINTS=aspell lint
/usr/bin/aspell  -a -t <test.tex
3:The quic brown fox jumps over the lazy dog.
4:The quick brown fox jumps over the lazy dog.

Here quick is a false positive.

tueda commented 3 years ago

For GNU grep, this is fixed. It seems rather difficult to implement this with POSIX grep.