1#!/bin/sh2set -e34prettify() {5 tidy \6 --wrap 0 \7 --indent yes \8 --show-body-only yes \9 "$@" 2>/dev/null10}1112for test in *; do13 [ -d "${test}" ] || continue1415 rm -rf "${test}/expected"16 scmdoc "${test}"/*.scm -o "${test}"/expected1718 find "${test}/expected" -name '*.html' \19 -exec tidy --wrap 0 --indent yes \20 --show-body-only yes -o {} {} \; 2>/dev/null21done