/^From / { messages++ } messages > 1 { exit 0 } { print }