1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00

Make it works with POSIX sort (POS arg)

All old sorts understand -k too.
This commit is contained in:
Andrey A. Chernov 2002-09-24 20:10:59 +00:00
parent 6fd04a1f52
commit 94ac52db2a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103911

View File

@ -20,7 +20,7 @@ index.so: ${SRCS} ${EXTRA}
-e 's/DOUBLEQUOTE/""/' \
-e "s/SQUOTE/'/" \
-e 's/ /__SPACE/g' < index | \
sort -u '-t ' +0 -1 +1n | awk -f ${SRCDIR}/merge.awk | \
sort -u '-t ' -k 1,1 -k 2n | awk -f ${SRCDIR}/merge.awk | \
sed -e 's/__SPACE/ /g' \
-e "s/^\\(['\\.]\\)/\\\\\&\\1/" > index.so