1
#
2
BEGIN { totallines=0; count=0; }
3
4
{ totallines++; print $0 }
5
6
$0 !~ /[java|sun|com\.sun]\..+=.*$/ { count++ }
7
8
END {
9
if ((count == 0) && (totallines != 0)) {
10
exit 0
11
}
12
else {
13
exit 1
14
15