GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MTBL_DUMP(1)   MTBL_DUMP(1)

mtbl_dump - print key-value entries from an MTBL file

mtbl_dump [-s] [-x] [-k ABCD] [-v ABCD] [-K #] [-V #] FILE

mtbl_dump(1) prints all key-value entries from an MTBL file to stdout, in file order.

By default, each entry is printed on its own line, with double quotes surrounding the key and the value, with a single space character separating the two. Unprintable characters and embedded double quote characters are escaped using the Python string literal syntax.

With the -x option, each entry is printed on its own line, formatted as an 8 digit hex length, colon, the hex digit pairs separated by a dash, for each of the key and value. Examples:

0000006:00-02-61-63-08-64 00000003:f2-e9-e4
00000004:03-01-2d-00 00000000:

The -k and -v options take as arguments a prefix as a hex-string with no embedded punctuation. For example, -k "00ab" is legal, -v "00-ab" is illegal. With the -k option, only entries whose key matches the prefix will be printed. With the -v option, only entries whose value matches the prefix will be printed.

The -K AND -V options take as arguments a positive integer which specifies the minimum length of the key or value, respectfully.

-k, -v, -K, and -V can all be specified, and only entries that match all will be printed.

-s
Silent mode (don’t output anything). Useful for benchmarking.

-x

Use hex mode output, described above.

-k

Match on a key prefix, described above.

-v

Match on a value prefix, described above.

-K

Match on a key prefix by minimal length, described above.

-V

Match on a value prefix by minimal length, described above.
07/13/2021  

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.