Print this page
XXX Remove nawk(1)

*** 35,45 **** if [ ! -s /etc/dfs/sharetab ]; then exit ; fi # Get all NFS filesystems exported with read-write permission. ! DIRS=`/usr/bin/nawk '($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 --- 35,45 ---- if [ ! -s /etc/dfs/sharetab ]; then exit ; fi # Get all NFS filesystems exported with read-write permission. ! 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