scdoc (mirror)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
193 B

printf '== %s\n' "$0"
trap "printf '\n'" EXIT
begin() {
printf '%-50s' "$1"
}
scdoc() {
./scdoc "$@" 2>&1
}
end() {
if [ $? -ne "$1" ]
then
printf 'FAIL\n'
else
printf 'OK\n'
fi
}