From: Paul Eggert Date: Sun, 10 Feb 2002 08:08:59 +0000 (+0000) Subject: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001 X-Git-Tag: ttn-vms-21-2-B4~16745 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ca3230163824c590b1c0cad218ab043048ff2a75;p=emacs.git Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001 disallows the old syntax. --- diff --git a/lib-src/rcs-checkin b/lib-src/rcs-checkin index 41b10d24412..2a24bca3fcb 100755 --- a/lib-src/rcs-checkin +++ b/lib-src/rcs-checkin @@ -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.