summaryrefslogtreecommitdiff
path: root/lib-src/rcs-checkin
diff options
context:
space:
mode:
authorPaul Eggert <eggert@twinsun.com>2002-02-10 08:08:59 +0000
committerPaul Eggert <eggert@twinsun.com>2002-02-10 08:08:59 +0000
commitca3230163824c590b1c0cad218ab043048ff2a75 (patch)
treead8a94cbcc5d5e1b1b6663af2f0a05f3af6f7d57 /lib-src/rcs-checkin
parent8bdd0bf7853d4803c2949d3048574859ce243acd (diff)
Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
disallows the old syntax.
Diffstat (limited to 'lib-src/rcs-checkin')
-rwxr-xr-xlib-src/rcs-checkin2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/rcs-checkin b/lib-src/rcs-checkin
index 41b10d2441..2a24bca3fc 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.