CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2011/11/13 02:58:21
Modified files: usr.bin/mandoc : Makefile apropos.1 apropos.c Log message: Split the common code to be reused by other mandocdb clients, for example the future man.cgi, out of apropos.c (which still contains the apropos(1) main program, command line handling, and the terminal output formatter) into apropos_db.{h,c} (which now contains the database searching backend code). While here, * Drop the -e option; to search for exact strings, use REs. * Drop the -r option (more changes related to this coming soon). * Use the traditional -s and -S instead of inventing our own options. * Drop the sort option (at least for now), it got in the way. Written by kristaps@.