From eb4f14b6a4a65ec0115237ddf410e0eaac614ecf Mon Sep 17 00:00:00 2001 From: root Date: Thu, 3 Apr 2008 11:42:32 +0000 Subject: [PATCH] Using -k 2 rather than +2 for sorting by column 2 --- backup-altersex.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup-altersex.sh b/backup-altersex.sh index bed53c7..6ab6fd6 100755 --- a/backup-altersex.sh +++ b/backup-altersex.sh @@ -35,7 +35,7 @@ fi tar tvvf $NAME.tar > $NAME.idx #make a sortet filelist -grep -v ^d $NAME.idx | sort -n -r +2 > $NAME.sdx +grep -v ^d $NAME.idx | sort -n -r -k 2 > $NAME.sdx #fix perm chmod 600 *tar #only for us -- 2.39.2