File seccheck-2.0-sort.patch of Package seccheck.968

diff -uNr seccheck-2.0.orig/security-daily.sh seccheck-2.0/security-daily.sh
--- seccheck-2.0.orig/security-daily.sh	2001-07-01 23:27:55.000000000 +0200
+++ seccheck-2.0/security-daily.sh	2003-08-03 21:17:56.000000000 +0200
@@ -77,7 +77,7 @@
         printf "\n$PW has duplicate user names.\n"
         column "$OUT"
 fi
-awk -F: '{ print $1 " " $3 }' $PW | sort -n +1 | tee $TMP1 |
+awk -F: '{ print $1 " " $3 }' $PW | sort -n -k2 | tee $TMP1 |
 uniq -d -f 1 | awk '{ print $2 }' > $TMP2
 if [ -s "$TMP2" ] ; then
         echo -e "\n$PW has duplicate user ids:"
openSUSE Build Service is sponsored by