1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Wolfram Schneider 370021810a 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
bin Take out 0201-0207 range - those characters abused by sh 1996-08-12 22:14:50 +00:00
contrib/tcl General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
eBones Same as non-secure telnetd, add support for ``-P altlogin'' to specify 1996-08-13 07:53:54 +00:00
etc Add missing netatalk, netipx and netkey directories. 1996-08-11 04:32:14 +00:00
games Convert to newly aded collate compare function 1996-08-12 19:12:40 +00:00
gnu Use collate for alpha character ranges 1996-08-13 14:33:05 +00:00
include #if !ANSI !POSIX newly added collate_range_cmp function 1996-08-13 14:01:40 +00:00
lib Fix nasty bracketing/precedence bug. Every time something read (and 1996-08-13 17:49:45 +00:00
libexec Add a ``-P altlogin'' option which allows the sysadmin to specify an 1996-08-13 07:51:45 +00:00
lkm Added or restored #include of <machine/md_var.h>. Some declarations 1996-07-01 20:29:10 +00:00
release Try to make screen update more efficient (less flickering) by more 1996-08-03 10:11:56 +00:00
sbin Submitted by: Archie@whistle.com 1996-08-13 22:20:20 +00:00
secure Same as non-secure telnetd, add support for ``-P altlogin'' to specify 1996-08-13 07:53:54 +00:00
share Correct instructions for ftp'ing entire ports hierarchies. 1996-08-13 19:51:36 +00:00
sys Submitted by: doug Rabson (dfr@render.com) 1996-08-13 19:48:41 +00:00
tools Make it at least semi-worked 1996-08-11 18:08:53 +00:00
usr.bin bigram 1996-08-14 00:22:31 +00:00
usr.sbin Do not send "welcome mail" as default. If you want this feature 1996-08-13 21:50:51 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
Makefile Removed extraneous .endif that was left during OBJDIR cleanup. 1996-08-07 19:28:09 +00:00