From 1cf41474327ca813976f622e8e0b73bb3841a44c Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 16 Dec 2011 12:06:35 +0000 Subject: Make the stored "cat"/"mdoc"/"man" strings just be c/d/a single-character bytes. This cuts down a little in index size and allows for cleaner extraction of information. --- mandocdb.8 | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'mandocdb.8') diff --git a/mandocdb.8 b/mandocdb.8 index a19b0083..38b928fd 100644 --- a/mandocdb.8 +++ b/mandocdb.8 @@ -1,4 +1,4 @@ -.\" $Id: mandocdb.8,v 1.13 2011/12/16 08:04:34 kristaps Exp $ +.\" $Id: mandocdb.8,v 1.14 2011/12/16 12:06:35 kristaps Exp $ .\" .\" Copyright (c) 2011 Kristaps Dzonsons .\" @@ -110,14 +110,13 @@ database with record values consisting of .Pp .Bl -enum -compact .It -the string -.Cm mdoc , -.Cm man , +the character +.Cm d , +.Cm a , or -.Cm cat +.Cm c to indicate the file type .Po -file in .Xr mdoc 7 , .Xr man 7 , and post-formatted, respectively @@ -137,9 +136,7 @@ and the description. .Pp Each of the above is NUL-terminated. .Pp -Both the manual section and description may be zero-length if the record -is unassigned. -Entries are sequentially-numbered, but the filenames are unordered. +If the record value is zero-length, it is unassigned. .Ss Keyword Database The keyword database, .Pa mandoc.db , -- cgit v1.2.3