Print this page
XXX Remove nawk(1)

@@ -21,11 +21,10 @@
 
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident  "%Z%%M% %I%     %E% SMI"
 
 script()
 {
         $dtrace -wq -o $tmpfile -s /dev/stdin 2> $errfile <<EOF
         BEGIN

@@ -85,11 +84,11 @@
                 echo "$0: unexpected contents in $tmpfile: " \
                     "expected 123, found $i"
                 status=100
         fi
         
-        i=`wc -l $errfile | nawk '{ print $1 }'`
+        i=`wc -l $errfile | /usr/xpg4/bin/awk '{ print $1 }'`
 
         if [ "$i" -lt 6 ]; then
                 echo "$0: expected at least 6 lines of stderr, found $i lines"
                 status=101
         fi