Make it work with POSIX sort (POS arg)

All old sorts understand -k too.
This commit is contained in:
Andrey A. Chernov 2002-09-24 18:16:36 +00:00
parent 06204d34a8
commit 197442ec02
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103902

View File

@ -79,7 +79,7 @@ ${NM} -go $* | sed "
# sort symbols and references on the first field (the symbol)
# join on that field, and print out the file names.
sort +1 $R -o $R
sort +1 $S -o $S
sort -k 2 $R -o $R
sort -k 2 $S -o $S
join -j 2 -o 1.1 2.1 $R $S
rm -f $R $S