Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 624af829a7d930d29f359c3d8a2408efc36b34e8 authored by Trent Mick on 19 June 2006, 23:57:41 UTC
[ 1295808 ] expat symbols should be namespaced in pyexpat
Tip revision: 624af82
cklatex
#! /bin/sh
#  -*- ksh -*-

# This script *helps* locate lines of normal content that end in '}';
# this is useful since LaTeX2HTML (at least the old version that we
# use) breaks on many lines that end that way.
#
# Usage: cklatex files... | less
#
# *Read* the output looking for suspicious lines!

grep -n "[^ 	]}\$" $@ | \
 grep -v '\\begin{' | \
 grep -v '\\end{' | \
 grep -v '\\input{' | \
 grep -v '\\documentclass{' | \
 grep -v '\\title{' | \
 grep -v '\\chapter{' | \
 grep -v '\\chapter\*{' | \
 grep -v '\\section{' | \
 grep -v '\\subsection{' | \
 grep -v '\\subsubsection{' | \
 grep -v '\\sectionauthor{' | \
 grep -v '\\moduleauthor{'

exit $?
back to top