#!/bin/sh echo -n $0: 'End of sentence 2... ' cat >test.in <<'eof' "A sentence inside logical quoting." eof cat >test.ref <test.data if cmp test.ref test.data then rm -f test.* echo passed else echo failed exit 1 fi