#!../../perl # while(<>) { chop; next unless s/^#\s*define\s+//; s%/\*.*%%; @v=split; next if $#v != 1; next if $v[1] =~ /["]/; next if $v[0] =~ /[()]/; push(@list,$v[0]); } print <