=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/apropos.1,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/mandoc/apropos.1 2011/11/29 01:07:30 1.7 --- src/usr.bin/mandoc/apropos.1 2011/11/29 22:30:56 1.8 *************** *** 1,4 **** ! .\" $Id: apropos.1,v 1.7 2011/11/29 01:07:30 schwarze Exp $ .\" .\" Copyright (c) 2011 Kristaps Dzonsons .\" --- 1,4 ---- ! .\" $Id: apropos.1,v 1.8 2011/11/29 22:30:56 schwarze Exp $ .\" .\" Copyright (c) 2011 Kristaps Dzonsons .\" *************** *** 112,122 **** .Li \&~ evaluates a regular expression. .It Fl i Ar term ! Same as ! .Ar term , ! but .Ar term is evaluated case-insensitively. .El .Pp By default, --- 112,122 ---- .Li \&~ evaluates a regular expression. .It Fl i Ar term ! If .Ar term + is a regular expression, it is evaluated case-insensitively. + Has no effect on substring terms. .El .Pp By default, *************** *** 125,131 **** .Xr mandocdb 8 databases in the default paths stipulated by .Xr man 1 , ! parses terms as case-insensitive regular expressions .Pq the Li \&~ operator over manual names and descriptions .Pq the Li \&Nm No and Li \&Nd No macro keys . --- 125,131 ---- .Xr mandocdb 8 databases in the default paths stipulated by .Xr man 1 , ! parses terms as case-sensitive regular expressions .Pq the Li \&~ operator over manual names and descriptions .Pq the Li \&Nm No and Li \&Nd No macro keys . *************** *** 238,262 **** Overridden by .Fl M . .El - .\" .Sh FILES .Sh EXIT STATUS .Ex -std .Sh EXAMPLES Search for .Qq mdoc ! within the manual name and description: .Pp .Dl $ apropos mdoc .Pp ! Two variants of searching for ! .Qq mdoc , ! .Qq roff , ! or .Qq man ! within manual names and descriptions: .Pp ! .Dl $ apropos mdoc roff man ! .Dl $ apropos mdoc \-o roff \-o man .Pp Search for .Qq optind --- 238,262 ---- Overridden by .Fl M . .El .Sh EXIT STATUS .Ex -std .Sh EXAMPLES Search for .Qq mdoc ! as a substring and regular expression ! within each manual name and description: .Pp .Dl $ apropos mdoc + .Dl $ apropos ~^mdoc$ .Pp ! Include matches for ! .Qq roff ! and .Qq man ! for the regular expression case: .Pp ! .Dl $ apropos ~^mdoc$ roff man ! .Dl $ apropos ~^mdoc$ \-o roff \-o man .Pp Search for .Qq optind *************** *** 264,280 **** .Qq optarg as variable names in the library category: .Pp ! .Dl $ apropos \-s 3 \(dqVa~^optind$\(dq -a \(dqVa~^optarg$\(dq ! .Pp ! Search for all manuals referencing ! .Qq POSIX ! in any letter case: ! .Pp ! .Dl $ apropos \-\- \-i posix .Sh SEE ALSO .Xr man 1 , ! .Xr mandoc 1 , ! .Xr re_format 7 .Sh AUTHORS The .Nm --- 264,274 ---- .Qq optarg as variable names in the library category: .Pp ! .Dl $ apropos \-s 3 Va~^optind \-a Va~^optarg$ .Sh SEE ALSO .Xr man 1 , ! .Xr re_format 7 , ! .Xr mandocdb 8 .Sh AUTHORS The .Nm