changeset 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 69c91aaa067a
children 9e88b1653bc3
files lib-src/rcs-checkin
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/rcs-checkin	Sun Feb 10 06:46:12 2002 +0000
+++ b/lib-src/rcs-checkin	Sun Feb 10 08:08:59 2002 +0000
@@ -73,7 +73,7 @@
 	# 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.