findglobals.sh: keep only names of vars