This website requires JavaScript.
Explore
Help
Sign In
jimzah
/
freebsd-src
Watch
1
Star
0
Fork
0
You've already forked freebsd-src
mirror of
https://github.com/freebsd/freebsd-src.git
synced
2024-12-03 10:29:15 +00:00
Code
Issues
Actions
2
Packages
Projects
Releases
Wiki
Activity
5f4796c0db
freebsd-src
/
usr.bin
/
locate
/
Makefile.inc
4 lines
39 B
PHP
Raw
Normal View
History
Unescape
Escape
$Id$ -> $FreeBSD$
1999-08-28 02:08:13 +01: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 01:22:31 +01:00
LIBEXECDIR
?
=
/
usr
/
libexec
Reference in New Issue
Copy Permalink