Print this page
XXX Remove nawk(1)

@@ -20,12 +20,10 @@
 # CDDL HEADER END
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident  "%Z%%M% %I%     %E% SMI"
-#
 # zoneunshare  -- unshare zone resources
 
 # Processes the specified sharetab file and unshare
 # all entries shared by the specfied zone
 

@@ -72,6 +70,6 @@
 
 while read line                         # get complete lines
 do
         echo $line
 done < $infile |
-        `egrep "^$rootpath"|nawk '{ print "/usr/sbin/unshare " $1 ";" }'|/sbin/sh`
+        `egrep "^$rootpath"|/usr/xpg4/bin/awk '{ print "/usr/sbin/unshare " $1 ";" }'|/sbin/sh`