OpenBSD CVS

CVS log for src/usr.bin/mandoc/makewhatis.8


[BACK] Up to [local] / src / usr.bin / mandoc

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 16 23:23:24 2022 UTC (2 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.14: +3 -5 lines
Diff to previous 1.14 (colored)

Just say that the databases are intended for use by apropos(1), whatis(1),
and man(1), without restricting that statement to "man -k".
Suggested by and patch OK'ed by jmc@.

While only apropos(1) and whatis(1) strictly require the database
and while our man(1) implementation can find many manual pages even
when no database is available or when the database is incomplete or
corrupt, it does use the database even without -k whenever possible.
Consequently, this change makes the manual page less confusing.

Revision 1.14 / (download) - annotate - [select for diffs], Wed May 17 22:26:52 2017 UTC (7 years ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.13: +5 -2 lines
Diff to previous 1.13 (colored)

Never create empty databases.

When pkg_add(1)ing packages installing manual pages into some directory,
the database in that directory automatically gets created or updated,
no change so far.  This patch causes the database file to be
automatically unlinked when pkg_delete(1)ing the last package having
manual pages in that directory, to leave less cruft behind.

Suggested by ajacoutot@.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Mar 18 19:50:58 2017 UTC (7 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.12: +13 -3 lines
Diff to previous 1.12 (colored)

Correct description of MANPATH, and a few more improvements
to the ENVIRONMENT section; OK jmc@

Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 28 19:25:03 2014 UTC (9 years, 5 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Add some missing OpenBSD RCS markers
and a few missing <sys/types.h> inclusions; no code change.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Aug 17 21:02:06 2014 UTC (9 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

typo; Steven Honeyman <stevenhoneyman at gmail dot com>

Revision 1.10 / (download) - annotate - [select for diffs], Fri Apr 25 12:12:35 2014 UTC (10 years ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Reduce the verbosity of makewhatis -t:
In the past, it always showed the title lines of the files processed.
Now, it only shows them when called with -D.
That is better because pkg_create calls makewhatis -t.
It is also more consistent with -D behaviour in non- -t modes.
Issue reported by ajacoutot@; ok espie@ ajacoutot@ jasper@.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Apr 4 02:31:01 2014 UTC (10 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

When the -n or -t flag is given to makewhatis(8),
write names and decriptions to stdout,
in a format similar to apropos(1) output.
Inspired by espie@'s makewhatis.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 3 16:26:53 2014 UTC (10 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.7: +16 -12 lines
Diff to previous 1.7 (colored)

Rename the -W option to -p (mnemonics: picky, print to stderr):
That letter was already chosen by espie@ for OpenBSD 2.7,
so avoid being gratuitiously different more than a decade later.
Accept -v for backward compatibility with espie@'s makewhatis,
even though it does nothing right now.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Apr 3 15:37:14 2014 UTC (10 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.6: +11 -11 lines
Diff to previous 1.6 (colored)

The -v option of mandocdb(8) clashes with the -v option of espie@'s
makewhatis(8), which traditionally does something different,
so rename it to -D (mnemonics: Debug, Dump, Display).

Revision 1.6 / (download) - annotate - [select for diffs], Mon Mar 17 11:29:11 2014 UTC (10 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.5: +22 -8 lines
Diff to previous 1.5 (colored)

describe new features

Revision 1.5 / (download) - annotate - [select for diffs], Mon Mar 17 08:31:54 2014 UTC (10 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.4: +29 -154 lines
Diff to previous 1.4 (colored)

sync to bsd.lv: remove the Berkeley DB specific parts and document -n

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jul 13 19:27:46 2013 UTC (10 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.3: +3 -4 lines
Diff to previous 1.3 (colored)

For citing the names and email addresses of authors,
consistently use the style ".An name Aq Mt email".

Triggered by a question from Jan Stary <hans at stare dot cz>,
ok jmc@.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jan 14 23:31:33 2012 UTC (12 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.2: +35 -5 lines
Diff to previous 1.2 (colored)

add/fix HISTORY and AUTHORS

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jan 10 09:45:13 2012 UTC (12 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Continue using the traditional name makewhatis(8),
do not rename to mandocdb(8):  Even though there is some
additional functionality, the basic purpose remains the same.
Requested by espie@; "decide fast" deraadt@.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jan 10 09:31:38 2012 UTC (12 years, 4 months ago) by schwarze
Branch: MAIN

Rename file from mandocdb.8; no change of content yet.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.