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-04 03:49:02 +00:00
Code
Issues
Actions
2
Packages
Projects
Releases
Wiki
Activity
7f3dea244c
freebsd-src
/
usr.bin
/
locate
/
Makefile.inc
4 lines
34 B
PHP
Raw
Normal View
History
Unescape
Escape
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
# $Id$
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