$NetBSD: patch-ae,v 1.7 2002/07/24 05:06:00 hubertf Exp $ --- vfs/extfs/ulha.in.orig Wed Jul 24 06:52:24 2002 +++ vfs/extfs/ulha.in @@ -34,11 +34,16 @@ # Define your awk AWK=@AWK@ -if ls -de . >& /dev/null; +if ls -de . >/dev/null 2>&1 ; then LS_COMMAND="ls -le" else - LS_COMMAND="ls -l --full-time" + if ls -dT . >/dev/null 2>&1; # BSD::ls -T == Linux::ls -e + then + LS_COMMAND="ls -lT" + else + LS_COMMAND="ls -l --full-time" + fi fi # Define which archiver you are using with appropriate options