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