Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/makemandb makemandb/*: fix spelling of database and...
details: https://anonhg.NetBSD.org/src/rev/e388fc09e3f1
branches: trunk
changeset: 369995:e388fc09e3f1
user: gutteridge <gutteridge%NetBSD.org@localhost>
date: Sun Sep 11 20:32:37 2022 +0000
description:
makemandb/*: fix spelling of database and consistency of SQLite
diffstat:
usr.sbin/makemandb/apropos-utils.3 | 4 ++--
usr.sbin/makemandb/apropos-utils.c | 10 +++++-----
usr.sbin/makemandb/close_db.3 | 4 ++--
usr.sbin/makemandb/init_db.3 | 6 +++---
usr.sbin/makemandb/makemandb.8 | 6 +++---
usr.sbin/makemandb/makemandb.c | 8 ++++----
usr.sbin/makemandb/run_query.3 | 4 ++--
usr.sbin/makemandb/whatis.1 | 4 ++--
8 files changed, 23 insertions(+), 23 deletions(-)
diffs (207 lines):
diff -r 682bdb72f50e -r e388fc09e3f1 usr.sbin/makemandb/apropos-utils.3
--- a/usr.sbin/makemandb/apropos-utils.3 Sun Sep 11 20:18:30 2022 +0000
+++ b/usr.sbin/makemandb/apropos-utils.3 Sun Sep 11 20:32:37 2022 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: apropos-utils.3,v 1.4 2016/05/24 18:06:42 abhinav Exp $
+.\" $NetBSD: apropos-utils.3,v 1.5 2022/09/11 20:32:37 gutteridge Exp $
.\"
.\" Copyright (c) 2011 Abhinav Upadhyay <er.abhinav.upadhyay%gmail.com@localhost>
.\" All rights reserved.
@@ -49,7 +49,7 @@
header file.
They operate on
.Pa /var/db/man.db
-which is an Sqlite database containing a full text search index of the manual
+which is an SQLite database containing a full text search index of the manual
pages.
The functions provide an easy to use interface to query the database and
develop applications on top of it.
diff -r 682bdb72f50e -r e388fc09e3f1 usr.sbin/makemandb/apropos-utils.c
--- a/usr.sbin/makemandb/apropos-utils.c Sun Sep 11 20:18:30 2022 +0000
+++ b/usr.sbin/makemandb/apropos-utils.c Sun Sep 11 20:32:37 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: apropos-utils.c,v 1.49 2022/05/19 04:08:03 gutteridge Exp $ */
+/* $NetBSD: apropos-utils.c,v 1.50 2022/09/11 20:32:37 gutteridge Exp $ */
/*-
* Copyright (c) 2011 Abhinav Upadhyay <er.abhinav.upadhyay%gmail.com@localhost>
* All rights reserved.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: apropos-utils.c,v 1.49 2022/05/19 04:08:03 gutteridge Exp $");
+__RCSID("$NetBSD: apropos-utils.c,v 1.50 2022/09/11 20:32:37 gutteridge Exp $");
#include <sys/queue.h>
#include <sys/stat.h>
@@ -241,7 +241,7 @@
/*
* zip --
- * User defined Sqlite function to compress the FTS table
+ * User defined SQLite function to compress the FTS table
*/
static void
zip(sqlite3_context *pctx, int nval, sqlite3_value **apval)
@@ -262,7 +262,7 @@
/*
* unzip --
- * User defined Sqlite function to uncompress the FTS table.
+ * User defined SQLite function to uncompress the FTS table.
*/
static void
unzip(sqlite3_context *pctx, int nval, sqlite3_value **apval)
@@ -459,7 +459,7 @@
/*
* rank_func --
- * Sqlite user defined function for ranking the documents.
+ * SQLite user defined function for ranking the documents.
* For each phrase of the query, it computes the tf and idf and adds them over.
* It computes the final rank, by multiplying tf and idf together.
* Weight of term t for document d = (term frequency of t in d *
diff -r 682bdb72f50e -r e388fc09e3f1 usr.sbin/makemandb/close_db.3
--- a/usr.sbin/makemandb/close_db.3 Sun Sep 11 20:18:30 2022 +0000
+++ b/usr.sbin/makemandb/close_db.3 Sun Sep 11 20:32:37 2022 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: close_db.3,v 1.2 2016/05/24 18:06:42 abhinav Exp $
+.\" $NetBSD: close_db.3,v 1.3 2022/09/11 20:32:37 gutteridge Exp $
.\"
.\" Copyright (c) 2011 Abhinav Upadhyay <er.abhinav.upadhyay%gmail.com@localhost>
.\" All rights reserved.
@@ -50,7 +50,7 @@
.Sh FILES
.Bl -hang -width /var/db/man.db -compact
.It Pa /var/db/man.db
-The Sqlite FTS database which contains an index of the manual pages.
+The SQLite FTS database which contains an index of the manual pages.
.El
.Sh SEE ALSO
.Xr apropos-utils 3 ,
diff -r 682bdb72f50e -r e388fc09e3f1 usr.sbin/makemandb/init_db.3
--- a/usr.sbin/makemandb/init_db.3 Sun Sep 11 20:18:30 2022 +0000
+++ b/usr.sbin/makemandb/init_db.3 Sun Sep 11 20:32:37 2022 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: init_db.3,v 1.3 2016/05/24 18:06:42 abhinav Exp $
+.\" $NetBSD: init_db.3,v 1.4 2022/09/11 20:32:37 gutteridge Exp $
.\"
.\" Copyright (c) 2011 Abhinav Upadhyay <er.abhinav.upadhyay%gmail.com@localhost>
.\" All rights reserved.
@@ -45,7 +45,7 @@
function will try to initialize a connection to
.Pa man.db
which is an
-Sqlite database and return a pointer to a sqlite3 structure.
+SQLite database and return a pointer to a sqlite3 structure.
The connection should subsequentially be closed by calling
.Fn close_db
which will also release any resources being used by it.
@@ -88,7 +88,7 @@
.Sh FILES
.Bl -hang -width /etc/man.conf -compact
.It Pa /etc/man.conf
-The location of the Sqlite FTS database can be configured using the
+The location of the SQLite FTS database can be configured using the
.Cd _mandb
tag.
.El
diff -r 682bdb72f50e -r e388fc09e3f1 usr.sbin/makemandb/makemandb.8
--- a/usr.sbin/makemandb/makemandb.8 Sun Sep 11 20:18:30 2022 +0000
+++ b/usr.sbin/makemandb/makemandb.8 Sun Sep 11 20:32:37 2022 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: makemandb.8,v 1.10 2016/06/18 06:36:18 abhinav Exp $
+.\" $NetBSD: makemandb.8,v 1.11 2022/09/11 20:32:37 gutteridge Exp $
.\"
.\" Copyright (c) 2011 Abhinav Upadhyay <er.abhinav.upadhyay%gmail.com@localhost>
.\" All rights reserved.
@@ -46,7 +46,7 @@
utility traverses the directories containing man pages, parses the manual
pages with the help of
.Xr mandoc 3
-and builds an Sqlite database
+and builds an SQLite database
to support full text searches by
.Xr apropos 1 .
It obtains the list of directories to traverse using the
@@ -112,7 +112,7 @@
.Sh FILES
.Bl -hang -width /etc/man.conf -compact
.It Pa /etc/man.conf
-The location of the Sqlite FTS database can be configured using the
+The location of the SQLite FTS database can be configured using the
.Cd _mandb
tag.
.El
diff -r 682bdb72f50e -r e388fc09e3f1 usr.sbin/makemandb/makemandb.c
--- a/usr.sbin/makemandb/makemandb.c Sun Sep 11 20:18:30 2022 +0000
+++ b/usr.sbin/makemandb/makemandb.c Sun Sep 11 20:32:37 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: makemandb.c,v 1.63 2022/06/06 07:41:23 skrll Exp $ */
+/* $NetBSD: makemandb.c,v 1.64 2022/09/11 20:32:37 gutteridge Exp $ */
/*
* Copyright (c) 2011 Abhinav Upadhyay <er.abhinav.upadhyay%gmail.com@localhost>
* Copyright (c) 2011 Kristaps Dzonsons <kristaps%bsd.lv@localhost>
@@ -17,7 +17,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: makemandb.c,v 1.63 2022/06/06 07:41:23 skrll Exp $");
+__RCSID("$NetBSD: makemandb.c,v 1.64 2022/09/11 20:32:37 gutteridge Exp $");
#include <sys/stat.h>
#include <sys/types.h>
@@ -696,7 +696,7 @@
* Does an incremental updation of the database by checking the file_cache.
* It parses and adds the pages which are present in file_cache,
* but not in the database.
- * It also removes the pages which are present in the databse,
+ * It also removes the pages which are present in the database,
* but not in the file_cache.
*/
static void
@@ -1454,7 +1454,7 @@
/*
* insert_into_db --
- * Inserts the parsed data of the man page in the Sqlite databse.
+ * Inserts the parsed data of the man page in the SQLite database.
* If any of the values is NULL, then we cleanup and return -1 indicating
* an error.
* Otherwise, store the data in the database and return 0.
diff -r 682bdb72f50e -r e388fc09e3f1 usr.sbin/makemandb/run_query.3
--- a/usr.sbin/makemandb/run_query.3 Sun Sep 11 20:18:30 2022 +0000
+++ b/usr.sbin/makemandb/run_query.3 Sun Sep 11 20:32:37 2022 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: run_query.3,v 1.4 2016/05/24 18:06:42 abhinav Exp $
+.\" $NetBSD: run_query.3,v 1.5 2022/09/11 20:32:37 gutteridge Exp $
.\"
.\" Copyright (c) 2011 Abhinav Upadhyay <er.abhinav.upadhyay%gmail.com@localhost>
.\" All rights reserved.
@@ -161,7 +161,7 @@
.Sh FILES
.Bl -hang -width /var/db/man.db -compact
.It Pa /var/db/man.db
-The Sqlite FTS database which contains an index of the manual pages.
+The SQLite FTS database which contains an index of the manual pages.
.El
.Sh EXAMPLES
Following is a code excerpt of how
diff -r 682bdb72f50e -r e388fc09e3f1 usr.sbin/makemandb/whatis.1
--- a/usr.sbin/makemandb/whatis.1 Sun Sep 11 20:18:30 2022 +0000
+++ b/usr.sbin/makemandb/whatis.1 Sun Sep 11 20:32:37 2022 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: whatis.1,v 1.4 2016/06/16 14:07:16 abhinav Exp $
+.\" $NetBSD: whatis.1,v 1.5 2022/09/11 20:32:37 gutteridge Exp $
.\"
.\" Copyright (c) 2012 Joerg Sonnenberger <joerg%NetBSD.org@localhost>
.\" All rights reserved.
@@ -58,7 +58,7 @@
.Sh FILES
.Bl -hang -width /etc/man.conf -compact
.It Pa /etc/man.conf
-The location of the Sqlite FTS database can be configured using the
+The location of the SQLite FTS database can be configured using the
.Cd _mandb
tag.
.El
Home |
Main Index |
Thread Index |
Old Index