This website requires JavaScript.
Explore
Help
Sign In
d
/
freebsd-dev
Watch
1
Star
0
Fork
0
You've already forked freebsd-dev
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
acb3f07afd
freebsd-dev
/
usr.bin
/
locate
/
Makefile.inc
4 lines
39 B
PHP
Raw
Normal View
History
Unescape
Escape
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
# $FreeBSD$
bigram Bigram does not remove newline at end of filename. This break particulary the bigram algorithm and /var/db/locate.database grow up 15 %. Bigram does not check for characters outside 32-127. The bigram output is silly and need ~1/2 CPU time of database rebuilding. old: locate.bigram < $filelist | sort | uniq -c | sort -nr ^^^^^^^^^^^^^^ this can easy made bigram new: bigram < $filelist | sort -nr code Code does not check for char 31. Use a lookup array instead a function. 3 x faster. updatedb rewritten sync with bigram changes read config file /etc/locate.rc if exists submitted by: guido@gvr.win.tue.nl (Guido van Rooij) concatdb - concatenate locate databases mklocatedb - build locate database
1996-08-14 00:22:31 +00:00
LIBEXECDIR
?
=
/
usr
/
libexec
Reference in New Issue
Copy Permalink