#!/bin/sh # Open SGML Catalog: test BASE LANG=C; export LANG LC_ALL=C; export LC_ALL tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles cat-test2.in1 cat-2 cat-test2.cat" cat <cat-test2.in1 EOF mkdir -p cat-2 cat <cat-2/cat-test2.dtd EOF # osgmls complains: # error reading "./cat-2/" (Is a directory) cat <cat-test2.cat BASE "./cat-2/" SYSTEM "cat-test2.dtd" "cat-test2.dtd" EOF : ${top_srcdir=..} : ${ONSGMLS=onsgmls} ${ONSGMLS} -s -c cat-test2.cat cat-test2.in1 result=$? rm -fr $tmpfiles exit $result