Make it work with POSIX sort (POS arg).
All old sorts understand -k too.
This commit is contained in:
parent
334a0d61e1
commit
73be6d69ef
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103905
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user