#!/usr/bin/env ruby a=[] `grep -nri install ../src/*.[ch]xx ../src/*.m`.each {|line| m=/install(?:_format)?\(\"([^"]+)/.match(line) a<0 puts "(#{list.size})" end report "missing from help files: ", ab-c-%w[cv/#Add cv/#And cv/#Div cv/#Mul cv/#Or cv/#Sub cv/#Xor] puts "" report "orphan help files:", c-ab puts "" report "missing from index but not from help files:", ab-d-(ab-c) puts "" report "orphan index entries: ", d-ab