On May 5, 1:27pm, j...@freebsd.org (Jung-uk Kim) wrote: -- Subject: Re: hg: bsd-port/bsd-port/hotspot: . OpenBSD nm(1) doesn't have -
| > +OS_NAME=`uname -s` +BSD_OS=${OS_NAME##${OS_NAME%BSD}} + +if [ | > "$BSD_OS" == "BSD" ] ; then $NM $* \ | awk '{ if ($2 != "U") if ($3 | > ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" Please: 1. use $() instead of ``. 2. use "$@" instead of $* christos