diff options
author | ache <ache@FreeBSD.org> | 2002-09-24 19:05:40 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-09-24 19:05:40 +0000 |
commit | 136752fc5327d1689df7aeb5e6bc72efb2b3dfab (patch) | |
tree | 9ac8b2bd610fea36fce5d9b4ba75c91121f9bf3c /usr.bin/vgrind | |
parent | 7db6eff0eb88ed928389ad39d2bac71f0ca2c083 (diff) | |
download | FreeBSD-src-136752fc5327d1689df7aeb5e6bc72efb2b3dfab.zip FreeBSD-src-136752fc5327d1689df7aeb5e6bc72efb2b3dfab.tar.gz |
Make it work with POSIX sort (POS arg).
All old sorts understand -k too.
Diffstat (limited to 'usr.bin/vgrind')
-rw-r--r-- | usr.bin/vgrind/vgrind.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/vgrind/vgrind.sh b/usr.bin/vgrind/vgrind.sh index ad459c5..7b8c856 100644 --- a/usr.bin/vgrind/vgrind.sh +++ b/usr.bin/vgrind/vgrind.sh @@ -33,6 +33,8 @@ # # @(#)vgrind.sh 8.1 (Berkeley) 6/6/93 # +# $FreeBSD$ +# set voptions= set options= @@ -134,7 +136,7 @@ if (-r index) then sh -c "$postproc -rx1 $voptions -i -mvgrind 2>> xindex" endif endif - sort -df +0 -2 xindex >index + sort -df -k 1,2 xindex >index rm nindex xindex else if ($f == 'filter') then |