Use sort -k 2', not sort +1', as POSIX 1003.1-2001

disallows the old syntax.
This commit is contained in:
Paul Eggert 2002-02-10 08:08:59 +00:00
parent 8bdd0bf785
commit ca32301638

View file

@ -73,7 +73,7 @@ do
# Get list of old files.
oldfiles=`
ls $file.~[0-9]*~ 2>/dev/null |
sort -t~ -n +1
sort -t~ -n -k 2
`
# Check that they are properly sorted by date.