perl -ne "exit if /matching/"