The FTimes Project The HashDig Project The WebJob Project The PaD Project
Location: / Home / FTimes / Man Pages / ftimes-dbm-dump
Man Pages
FTimes
Home


NAME

ftimes-dbm-dump - Enumerate a Berkeley database


SYNOPSIS

ftimes-dbm-dump [-M pattern] [-m pattern-file] [-o option[,option[,...]]] -d db


DESCRIPTION

This utility enumerates a Berkeley database that has been created with ftimes-dbm-make(1). Output is written to stdout and has the following format:

    key|value


OPTIONS

-d db

Specifies the name of the database to dump.

-M

Specifies a pattern that is to be applied to the values. The output records for any values not matched by the pattern will be discarded. Use the InvertMatch option to invert the sense of the match.

-m

Specifies a file containing zero or more patterns, one per line, that are to be applied to the values. The output records for any values matched by the patterns will be discarded. Use the InvertMatch option to invert the sense of the match. Use the MatchKeys option to apply pattern matching to keys instead of values.

-o option,[option[,...]]

Specifies the list of options to apply. Currently the following options are supported:

KeysOnly

Output keys only. By default, both keys and values are written to stdout.

MatchKeys

Apply pattern matching to keys instead of values.

InvertMatch

Invert the sense of pattern matching.

ReverseFields

Output keys and values in the reverse order (i.e., value|key). This option is silently ignored if the KeysOnly option has been set.


AUTHOR

Klayton Monroe


SEE ALSO

ftimes-dbm-dump(1), ftimes-dbm-make(1)


LICENSE

All documentation and code are distributed under same terms and conditions as FTimes.

Copyright 2000-2014 The FTimes Project, All Rights Reserved.
The FreeBSD Project SourceForge Logo KoreLogic, Inc.