Lots of stuff.
[misc] / cdb-list.1
diff --git a/cdb-list.1 b/cdb-list.1
new file mode 100644 (file)
index 0000000..e152c62
--- /dev/null
@@ -0,0 +1,29 @@
+.\" -*-nroff-*-
+.TH cdb-list 1 "9 October 2003" "Straylight/Edgeware"
+.SH SYNOPSIS
+.B cdb-list
+.I cdb
+.RI [ input ...]
+.SH DESCRIPTION
+Constructs a CDB file (see
+.BR cdbmake (1),
+.BR cdbget (1))
+from a list of items in the
+.I input
+files (or stdin if there are none).
+.PP
+Comments and blank lines in the inputs are ignored.  Each other line
+.I line
+causes an entry to be inserted into the BDB, whose key is
+.I line
+with leading and trailing spaces stripped, and whose value is empty.  
+.PP
+The CDB file is written to
+.IB cdb .new
+and renamed to
+.I cdb
+when it's finished.
+.SH BUGS
+None known.
+.SH AUTHOR
+Mark Wooding, <mdw@nsict.org>