#! /bin/sh ./pcre_extract 'xxxx' '<(.*)>' 2 | grep 'substring #1: "test"' >/dev/null