Print this page
XXX Remove nawk(1)

@@ -717,22 +717,22 @@
         datalink=/etc/dladm/datalink.conf
 
         (
                 # Find datalinks using VLAN 1 explicitly
                 # configured by dladm
-                /usr/bin/nawk '
+                /usr/xpg4/bin/awk '
                         /^#/ || NF < 2 { next }
                         { linkdata[$1]=$2; }
                         /;vid=int,1;/ {
                                 sub(/.*;linkover=int,/, "", $2);
                                 sub(/;.*/, "", $2);
                                 link=linkdata[$2];
                                 sub(/name=string,/, "", link);
                                 sub(/;.*/, "", link);
                                 print link;
                         }' $datalink
-        ) | ( /usr/bin/sort -u; echo END; cat $datalink ) | /usr/bin/nawk '
+        ) | ( /usr/bin/sort -u; echo END; cat $datalink ) | /usr/xpg4/bin/awk '
             /^END$/ { state=1; }
             state == 0 { usingpvid[++nusingpvid]=$1; next; }
             /^#/ || NF < 2 { next; }
             {
                 # If it is already present and has a tag set,