diff options
author | ache <ache@FreeBSD.org> | 2002-09-24 18:16:36 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-09-24 18:16:36 +0000 |
commit | f827f40f52b12dea84f6f0b7d126604815c2c149 (patch) | |
tree | 9a61b6c59c12aa640ec6b3a85096aacf7521b7cc /usr.bin/lorder | |
parent | 5ce5ffe872b59d44ed7a22babbe5ed1a40bf37e0 (diff) | |
download | FreeBSD-src-f827f40f52b12dea84f6f0b7d126604815c2c149.zip FreeBSD-src-f827f40f52b12dea84f6f0b7d126604815c2c149.tar.gz |
Make it work with POSIX sort (POS arg)
All old sorts understand -k too.
Diffstat (limited to 'usr.bin/lorder')
-rw-r--r-- | usr.bin/lorder/lorder.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/lorder/lorder.sh b/usr.bin/lorder/lorder.sh index 7e6de59..5cd8e3c 100644 --- a/usr.bin/lorder/lorder.sh +++ b/usr.bin/lorder/lorder.sh @@ -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 |