Print this page
XXX Remove nawk(1)

*** 247,257 **** # find the dataset associated with $zonepath uninstall_get_zonepath_ds() { ZONEPATH_DS=`/sbin/zfs list -t filesystem -o name,mountpoint | \ ! /bin/nawk -v zonepath=$zonepath '{ if ($2 == zonepath) print $1 }'` if [ -z "$ZONEPATH_DS" ]; then --- 247,257 ---- # find the dataset associated with $zonepath uninstall_get_zonepath_ds() { ZONEPATH_DS=`/sbin/zfs list -t filesystem -o name,mountpoint | \ ! /usr/xpg4/bin/awk -v zonepath=$zonepath '{ if ($2 == zonepath) print $1 }'` if [ -z "$ZONEPATH_DS" ]; then