version 1.3, 2010/05/16 17:54:01 |
version 1.4, 2010/05/16 18:02:11 |
Line 23 for file in */*.in */*/*.in; do |
|
Line 23 for file in */*.in */*/*.in; do |
|
printf "%s: " "$file" |
printf "%s: " "$file" |
${MANDOC} "$file" > test.mandoc 2> /dev/null |
${MANDOC} "$file" > test.mandoc 2> /dev/null |
${NROFF} ${OUTPUT} -mandoc "$file" > test.nroff 2> /dev/null |
${NROFF} ${OUTPUT} -mandoc "$file" > test.nroff 2> /dev/null |
if cmp -s test.mandoc test.nroff; then |
mandoclen=`head -n 1 test.mandoc | wc -c` |
|
nrofflen=`head -n 1 test.nroff | wc -c` |
|
if cmp -s test.mandoc test.nroff $mandoclen $nrofflen; then |
rm -f test.mandoc test.nroff |
rm -f test.mandoc test.nroff |
echo "passed" |
echo "passed" |
pass=`expr $pass + 1` |
pass=`expr $pass + 1` |