#! /bin/sh . ${srcdir:=.}/t.frame cat > "$TMPDIR"/input <<_EOF From nobody@example.com Subject: **not interesting** Content-Type: text/html ABC; DEFG HIJKL ABC;—DEFG Get Anyone—Else RXY _EOF cat > "$TMPDIR"/reference <<_EOF ABC DEFG HIJKL ABC DEFG Get Anyone Else RXY SRC http www.prerequisite.com www.onlinemedstore.biz sv.php dvsr sonic-pik.com _EOF $BOGOLEXER -p -C < "$TMPDIR"/input | grep -v ":" > "$TMPDIR"/output cmp "$TMPDIR"/reference "$TMPDIR"/output \ || diff "$TMPDIR"/reference "$TMPDIR"/output