Lines Matching refs:SGML
200 # Fix up SGML super catalog so that there isn't an XML DTD before an
201 # SGML one. We need to do this (*sigh*) because xmlcatalog messes up
202 # the order of the lines, and SGML tools don't like to see XML things
205 SGML=$(cat -n ${CATALOG} | grep sgml-docbook | head -1 | (read n line;echo $n))
208 if [ -n "${XML}" ] && [ -n "${SGML}" ] && [ "${XML}" -lt "${SGML}" ]
212 SGML=$((SGML - 1))
213 perl -e "@_=<>;@_[$XML, $SGML]=@_[$SGML, $XML];print @_" \