JMAKEWHATIS(1)

NAME
jmakewhatis - create Japanese or original (English) whatis database

SYNOPSIS
jmakewhatis [-a | -append] [-h | -help] [-i | -indent column] [-n | -name name] [-o | -outfile file] [-v | -verbose] [directories ...]

DESCRIPTION
Jmakewhatis extracts the name and a short description from unformatted manpages and creates the japanese(whatis) 1 database. Jmakewhatis can read gzip'ed manpages. Directory names a directory containing manpage subdirectories (named man.+). Colons are treated as spaces, hence jmakewhatis $MANPATH or jmakewhatis `manpath` are allowed. You have to set the environment variable LC_CTYPE (or LANG) to ja_JP.EUC if directory contains Japanese manpage subdirectories.

OPTIONS

-a, -append
    Append mode. Don't delete old entries in whatis database. Note: the new database will be sorted without repeated lines and jmakewhatis does not check if old entries are valid.

-h, -help
    Print options and exit.

-i, -indent column
    Justify description strings to column (default 24).

-n, -name name
    Use name instead of whatis.

-o, -outfile file
    Write all output to file instead of dirname/whatis.

-v, -verbose
    Issue more warnings (to stderr). For every parsed man page write a single char: ‘’. for an uncompressed page, ‘*’ for a compressed page, and ‘+’ for a link.

EXAMPLES

jmakewhatis $MANPATH

Create whatis database for all directories in your $MANPATH.

jmakewhatis -outfile /tmp/mywhatis /usr/share/man/ja $HOME/man

Create whatis database /tmp/mywhatis. Traverse directories /usr/share/man/ja and $HOME/man. Don't create /usr/share/man/ja/whatis or $HOME/man/whatis.

jmakewhatis -name windex $HOME/man

Create whatis database windex instead of whatis. May be useful for Solaris.

SEE ALSO
japropos(1), jcatman(1), jmakewhatis.local(1), jman(1), jmanpath(1), jwhatis(1), sort(1), uniq(1).

HISTORY
The original version of makewhatis command appeared in FreeBSD 2.1. Japanized jmakewhatis command appeared in ports/packages collection of FreeBSD 2.2.

AUTHORS
Wolfram Schneider, Berlin.

JAPANIZATION
KUMANO, Tadashi