Cross Reference: snap2.awk
xref
: /
openjdk7
/
jdk
/
test
/
sun
/
tools
/
jstat
/
snap2.awk
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
50
N/A
#
2273
N/A
BEGIN
{
totallines
=
0
;
count
=
0
; }
50
N/A
50
N/A
{
totallines
++;
print
$
0
}
50
N/A
50
N/A
$
0
!~ /[
java
|
sun
|
com
\.
sun
]\..+=.*$/
{
count
++ }
50
N/A
50
N/A
END
{
50
N/A
if
(
(
count
==
0
)
&&
(
totallines
!=
0
)
)
{
50
N/A
exit
0
50
N/A
}
50
N/A
else
{
50
N/A
exit
1
50
N/A
}
50
N/A
}
50
N/A