Print this page
XXX Remove nawk(1)

@@ -35,11 +35,11 @@
 
 if [ ! -s /etc/dfs/sharetab ]; then exit ; fi
 
 # Get all NFS filesystems exported with read-write permission.
 
-DIRS=`/usr/bin/nawk '($3 != "nfs") { next }
+DIRS=`/usr/xpg4/bin/awk '($3 != "nfs") { next }
         ($4 ~ /^rw$|^rw,|^rw=|,rw,|,rw=|,rw$/) { print $1; next }
         ($4 !~ /^ro$|^ro,|^ro=|,ro,|,ro=|,ro$/) { print $1 }' /etc/dfs/sharetab`
 
 for dir in $DIRS
 do