Use sort -k 2', not
sort +1', as POSIX 1003.1-2001
disallows the old syntax.
This commit is contained in:
parent
8bdd0bf785
commit
ca32301638
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue