]> git.eshelyaron.com Git - emacs.git/commitdiff
Use `sort -k 2' rather than `sort +1', as POSIX 1003.1-2001 disallows
authorPaul Eggert <eggert@twinsun.com>
Sun, 10 Feb 2002 08:05:31 +0000 (08:05 +0000)
committerPaul Eggert <eggert@twinsun.com>
Sun, 10 Feb 2002 08:05:31 +0000 (08:05 +0000)
`sort +1'.

lib-src/rcs-checkin

index 41b10d24412ee39fb08bd89972d3508d5624e071..2a24bca3fcb0777abafc21a96fb9d85c8070bed8 100755 (executable)
@@ -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.