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