It reads a LaTeX document and displays warning messages if it finds bad sequences. It can pick up on certain problems that LaTeX itself allows through, so lacheck could be considered the LaTeX equivalent of lint. Requires HP's lex run-time library or GNU's flex run-time library to be installed prior to compilation.