From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- docs/programmer_reference/dumpload_text.html | 30 ++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) (limited to 'docs/programmer_reference/dumpload_text.html') diff --git a/docs/programmer_reference/dumpload_text.html b/docs/programmer_reference/dumpload_text.html index 884c016d..7d843252 100644 --- a/docs/programmer_reference/dumpload_text.html +++ b/docs/programmer_reference/dumpload_text.html @@ -9,12 +9,12 @@ - + -

The db_load utility can be used to load text into databases. The -T option permits nondatabase applications to create flat-text files that are then loaded into databases for fast, highly-concurrent access. For example, the following command loads the standard UNIX /etc/passwd file into a database, with the login name as the key item and the entire password entry as the data item:

+

+ The db_load utility can be used to load text into databases. The + -T option permits + nondatabase applications to create flat-text files that are + then loaded into databases for fast, highly-concurrent access. + For example, the following command loads the standard UNIX + /etc/passwd file into a database, + with the login name as the key item and the entire password + entry as the data item: +

awk -F: '{print $1; print $0}' < /etc/passwd |\
     sed 's/\\/\\\\/g' | db_load -T -t hash passwd.db
-

Note that backslash characters naturally occurring in the text are escaped to avoid interpretation as escape characters by the db_load utility.

+

+ Note that backslash characters naturally occurring in the + text are escaped to avoid interpretation as escape characters + by the db_load utility. +

-- cgit v1.2.1