Simplify regex.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@452 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
roktas
2007-01-07 05:12:56 +00:00
parent 52666e2301
commit 856db32b85
+1 -1
View File
@@ -29,7 +29,7 @@ destname="${outfile:-$defaultdest}"
cd $THIS_TEMPDIR
if ! pdflatex -interaction=batchmode $texname.tex >/dev/null 2>&1; then
err "${THIS}: pdfLaTeX error context:"
sed -ne '/^![[:space:]]/,/^[[:space:]]*$/p' \
sed -ne '/^!/,/^[[:space:]]*$/p' \
-ne '/^[Ll]a[Tt]e[Xx] [Ww]arning/,/^[[:space:]]*$/p' \
-ne '/^[Ee]rror/,/^[[:space:]]*$/p' $texname.log >&2
if grep -q "File \`ucs.sty' not found" $texname.log; then