ropers wrote on Fri, Mar 06, 2009 at 11:48:17AM +0100: > I've just noticed that the web-based openbsd.org man pages are > case-sensitive. Observe: > > http://www.openbsd.org/cgi-bin/man.cgi?query=Umsm > http://www.openbsd.org/cgi-bin/man.cgi?query=umsm > > Is this intended behaviour or a bug?
That's intended. And adding to Tom's and Paul's answers, in case you want case insensitive search, select the "Apropos" radio button. Regarding command line utilities, the searches apropos(1), man -k, whatis(1), man -f are case insensitive, only plain man(1) lookup is case sensitive, such that the following works conveniently: $ man -k fcntl Fcntl (3p) - load the C Fcntl.h defines fcntl (2) - file control $ man fcntl | head -n1 FCNTL(2) OpenBSD Programmer's Manual FCNTL(2) $ man Fcntl | sed -n 4p Fcntl(3p) Perl Programmers Reference Guide Fcntl(3p) For user convenience, the utilities man(1) and apropos(1) handle -S and $MACHINE in a case-insensitive manner, too. Regarding man -S, case-insensitivity is new in 4.5, while apropos -S did not exist at all prior to 4.5. For more details, have a look at apropos(1), man(1), and whatis(1) on a -current system or on the web.

