Don't use -T option to sort(1) (from 386BSD patch 132).
This commit is contained in:
parent
8b0cd33cf6
commit
f8134092d8
|
@ -59,11 +59,11 @@ set errs = $TMPDIR/locate.errs.$$
|
|||
find ${SRCHPATHS} \( ! -fstype local -o -fstype fdesc -o -fstype kernfs \) -a \
|
||||
-prune -o -print | \
|
||||
tr '/' '\001' | \
|
||||
(sort -T /var/tmp -f; echo $status > $errs) | tr '\001' '/' > $filelist
|
||||
(sort -f; echo $status > $errs) | tr '\001' '/' > $filelist
|
||||
|
||||
$LIBDIR/locate.bigram < $filelist | \
|
||||
(sort -T /var/tmp; echo $status >> $errs) | \
|
||||
uniq -c | sort -T /var/tmp -nr | \
|
||||
(sort; echo $status >> $errs) | \
|
||||
uniq -c | sort -nr | \
|
||||
awk '{ if (NR <= 128) print $2 }' | tr -d '\012' > $bigrams
|
||||
|
||||
# code the file list
|
||||
|
|
Loading…
Reference in New Issue