| 1 | .\" -*-nroff-*- |
| 2 | .TH cdb-list 1 "9 October 2003" "Straylight/Edgeware" |
| 3 | .SH SYNOPSIS |
| 4 | .B cdb-list |
| 5 | .I cdb |
| 6 | .RI [ input ...] |
| 7 | .SH DESCRIPTION |
| 8 | Constructs a CDB file (see |
| 9 | .BR cdbmake (1), |
| 10 | .BR cdbget (1)) |
| 11 | from a list of items in the |
| 12 | .I input |
| 13 | files (or stdin if there are none). |
| 14 | .PP |
| 15 | Comments and blank lines in the inputs are ignored. Each other line |
| 16 | .I line |
| 17 | causes an entry to be inserted into the BDB, whose key is |
| 18 | .I line |
| 19 | with leading and trailing spaces stripped, and whose value is empty. |
| 20 | .PP |
| 21 | The CDB file is written to |
| 22 | .IB cdb .new |
| 23 | and renamed to |
| 24 | .I cdb |
| 25 | when it's finished. |
| 26 | .SH BUGS |
| 27 | None known. |
| 28 | .SH AUTHOR |
| 29 | Mark Wooding, <mdw@distorted.org.uk> |