Exceptions raised during renaming in rotating file handlers are now passed to handleE...
[python.git] / Doc / tools / cklatex
blob396e914c0028823dce314fc0f0ea8a2be824eb3e
1 #! /bin/sh
2 # -*- ksh -*-
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.
8 # Usage: cklatex files... | less
10 # *Read* the output looking for suspicious lines!
12 grep -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{'
26 exit $?