#!/bin/sh echo -n $0: 'DELETE... ' cat >test.bas <test.input <test.ref <test.data if cmp test.ref test.data then rm -f test.* echo passed else echo failed exit 1 fi