blob: 396e914c0028823dce314fc0f0ea8a2be824eb3e [file] [log] [blame]
Fred Drakec29e41d2000-02-21 17:20:16 +00001#! /bin/sh
2# -*- ksh -*-
3
4# This script *helps* locate lines of normal content that end in '}';
5# this is useful since LaTeX2HTML (at least the old version that we
6# use) breaks on many lines that end that way.
7#
8# Usage: cklatex files... | less
9#
10# *Read* the output looking for suspicious lines!
11
12grep -n "[^ ]}\$" $@ | \
13 grep -v '\\begin{' | \
14 grep -v '\\end{' | \
15 grep -v '\\input{' | \
16 grep -v '\\documentclass{' | \
17 grep -v '\\title{' | \
18 grep -v '\\chapter{' | \
19 grep -v '\\chapter\*{' | \
20 grep -v '\\section{' | \
21 grep -v '\\subsection{' | \
22 grep -v '\\subsubsection{' | \
23 grep -v '\\sectionauthor{' | \
24 grep -v '\\moduleauthor{'
25
26exit $?