summaryrefslogtreecommitdiff
path: root/test/watchpoint1.awk
blob: 5e7e94164fdebd4e594edc3246436d00d41601a4 (plain)
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
}