comparison lib-src/rcs-checkin @ 43221:fadb49348c98

Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001 disallows the old syntax.
author Paul Eggert <eggert@twinsun.com>
date Sun, 10 Feb 2002 08:08:59 +0000
parents c8fb06423da0
children fda999d78224
comparison
equal deleted inserted replaced
43220:69c91aaa067a 43221:fadb49348c98
71 rcs -i -q -t-"`sed 1q $file`" "$file" || exit 71 rcs -i -q -t-"`sed 1q $file`" "$file" || exit
72 72
73 # Get list of old files. 73 # Get list of old files.
74 oldfiles=` 74 oldfiles=`
75 ls $file.~[0-9]*~ 2>/dev/null | 75 ls $file.~[0-9]*~ 2>/dev/null |
76 sort -t~ -n +1 76 sort -t~ -n -k 2
77 ` 77 `
78 78
79 # Check that they are properly sorted by date. 79 # Check that they are properly sorted by date.
80 case $oldfiles in 80 case $oldfiles in
81 ?*) 81 ?*)