1 #!/bin/sh
   2 







   3 $NM --defined-only $* \
   4     | awk '{
   5               if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
   6               if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
   7               if ($3 ~ /^_ZN9Arguments17SharedArchivePathE$/) print "\t" $3 ";"
   8           }' \
   9     | sort -u
--- EOF ---