On April 11, 2017 5:54:31 AM GMT+02:00, Ingo Schwarze <schwa...@usta.de> wrote: >bytevolc...@safe-mail.net wrote on Tue, Apr 11, 2017 at 10:30:35AM >+1000: > >> Another issue with the man pages is that there is extremely limited >> indexing. > >That isn't true on OpenBSD. It still is true on most Linux >distributions, and even on FreeBSD by default, but at least FreeBSD >has an option to enable OpenBSD-quality indexing. It also isn't >true on NetBSD, though there, it works in a completely different >way than here (no semantic indexing, but flat full-text search). > >> $ apropos -i EXDEV >> apropos: nothing appropriate > > schwarze@isnote $ apropos Er=EXDEV > intro, errno(2) - introduction to system calls and error numbers > link, linkat(2) - make hard link to a file > rename, renameat(2) - change the name of a file
I was convinced Ingo would set things straight here. :-) Since I suck at markup, I think it's worth mentioning using "any=EXDEV" for the search expression, which works out fine for this case. For details, please consult the fine manual. It's totally worth it. /Alexander > >> Either I am doing something wrong here, or the indexing is junk. > >The former. You failed to read manual pages. >The apropos utility does not have a -i option, >but it does support searching for error numbers, >as documented in apropos(1). > >The indexing is NOT junk.