--- /etc/auto.net-dist 2007-02-08 11:20:07.000000000 -0500 +++ /etc/auto.net 2007-05-01 16:16:12.000000000 -0400 @@ -37,7 +37,7 @@ # Newer distributions get this right SHOWMOUNT="$SMNT --no-headers -e $key" -$SHOWMOUNT | LC_ALL=C sort -u -k 1 | \ +$SHOWMOUNT | LC_ALL=C cut -d\ -f1 | LC_ALL=C sort -u | \ awk -v key="$key" -v opts="$opts" -- ' BEGIN { ORS=""; first=1 } { if (first) { print opts; first=0 }; print " \\\n\t" $1, key ":" $1 }