Reintroduce case insensitive comparison of name accidentally lost in last revision. Index: whatis.c =================================================================== RCS file: /cvsroot/src/usr.sbin/makemandb/whatis.c,v retrieving revision 1.8 diff -u -p -r1.8 whatis.c --- whatis.c 18 May 2019 07:56:43 -0000 1.8 +++ whatis.c 18 May 2019 10:04:26 -0000 @@ -49,8 +49,11 @@ static int whatis(sqlite3 *db, const char *cmd) { static const char sqlstr[] = "SELECT link AS name, section, name_desc" - " FROM mandb_links WHERE link=? UNION SELECT name, section, name_desc" - " FROM mandb WHERE name MATCH ? AND name=? ORDER BY section"; + " FROM mandb_links WHERE link=?" + " UNION" + " SELECT name, section, name_desc" + " FROM mandb WHERE name MATCH ? AND name=? COLLATE NOCASE" + " ORDER BY section"; sqlite3_stmt *stmt = NULL; int retval; int i;