diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2012-03-25 00:48:47 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2012-03-25 00:48:47 +0000 |
commit | 51fb2f9406e8ac7b3dae3daa58f1d54a085e530d (patch) | |
tree | 8beff5d6d0e258c1ae727a309072d3bb4389cf51 | |
parent | c62650afbdb252470689d5248f5b941403bb97b3 (diff) | |
download | mandoc-51fb2f9406e8ac7b3dae3daa58f1d54a085e530d.tar.gz |
Some documentation nits.
-rw-r--r-- | apropos_db.c | 3 | ||||
-rw-r--r-- | index.sgml | 9 | ||||
-rw-r--r-- | whatis.1 | 4 |
3 files changed, 3 insertions, 13 deletions
diff --git a/apropos_db.c b/apropos_db.c index 2271e28c..368c8faf 100644 --- a/apropos_db.c +++ b/apropos_db.c @@ -19,6 +19,8 @@ #include "config.h" #endif +#include <sys/param.h> + #include <assert.h> #include <fcntl.h> #include <regex.h> @@ -426,6 +428,7 @@ apropos_search(int pathsz, char **paths, const struct opts *opts, */ for (i = 0; i < pathsz; i++) { + assert('/' == paths[i][0]); if (chdir(paths[i])) continue; if (single_search(&tree, opts, expr, terms, mc, i)) @@ -56,15 +56,6 @@ usually taken by existing utilities. </P> <H2> - <A NAME="binaries">Binaries</A> - </H2> - <P> - Binary archives consist of pre-compiled binaries, manuals, and other necessary files. - Universal (Mac OS X) binaries are compiled for the PCC, i386, and x86_64 architectures. - Windows binaries are compiled with <A CLASS="external" HREF="http://www.mingw.org">MingW</A> for the 32-bit (i686) and - 64-bit (x86_64) architectures. - </P> - <H2> Downstream </H2> <P> @@ -36,10 +36,6 @@ utility searches databases generated by for manuals containing the word .Ar name in their page name, ignoring case. -It returns the header lines from all matching pages. -You can then use the -.Xr man 1 -command to get more information. .Pp By default, .Nm |