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"
-#
 
 #
 # get a list of the Models for this Model from the ppdcache
 #
 # Input:

@@ -39,7 +37,7 @@
         exit 1
 fi
 
 cachefile=/var/lp/ppd/ppdcache
 [[ -f $cachefile ]] || exit 1
-/bin/grep "^$1" $cachefile | nawk '{FS=":"; print $2}' | uniq 
+/bin/grep "^$1" $cachefile | /usr/xpg4/bin/awk '{FS=":"; print $2}' | uniq 
 exit 0