#!/bin/sh . ./bigxml xmldoc ' foo ' \ ' ]>' \ | ./xmlstarlet val --embed --err - \ 2>&1 >/dev/null | ${SED:-sed} -n "$SEDLINUM_PROG"