• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import sys
2
3InterestingBBs = 0
4input = open(sys.argv[1], "r")
5for line in input:
6  i = line.find(';')
7  if i >= 0:
8    line = line[:i]
9  if line.startswith("interesting") or "%interesting" in line:
10    InterestingBBs += 1
11
12if InterestingBBs == 6:
13  sys.exit(0) # interesting!
14
15sys.exit(1) # IR isn't interesting
16