summaryrefslogtreecommitdiffstats
path: root/mandocdb.8
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-12-16 12:06:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-12-16 12:06:35 +0000
commitb38a0e9bb59f9ee62120de914198368fdba24c0c (patch)
tree24c19eb546e5b07faed09e9802c8811df81176a3 /mandocdb.8
parenta4ad6737e73b3efeb9ad854f1f4323ba3a43833a (diff)
downloadmandoc-b38a0e9bb59f9ee62120de914198368fdba24c0c.tar.gz
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.
Diffstat (limited to 'mandocdb.8')
-rw-r--r--mandocdb.813
1 files changed, 5 insertions, 8 deletions
diff --git a/mandocdb.8 b/mandocdb.8
index d64073d5..938a9a9e 100644
--- a/mandocdb.8
+++ b/mandocdb.8
@@ -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 ,