~vcs-imports/gawk/master

1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /usr/bin/gawk -f
BEGIN {
     c = 0
}

/apple/ {
     nr = NR
     c++
     # printf "[c, NR] = [%s, %s]\n", c, NR
}

END {
    print c
}