Next: , Previous: , Up: Commands   [Contents][Index]


2.2 zdbs

zdbs is used to store records in a database file. Records are entered via stdin or, optionally, they are read from an input file, with one record per line. Each record should consist of one key-value pair. The values should be separated from the keys by a common delimiter (’|’ by default), for example “key|value”.

In addition to the database file to be used, the zdbs command accepts the following options:

-d, --delim=CHAR

Delimiter character separating keys from values (default ’|’)

-i, --input=FILE

Read new records from a file instead of from stdin

-v, --verbose

Print more run-time information

-?, --help

Show helpful information

--usage

Show shorter helpful information

-V, --version

Print the program version