TCFMGR(1)
π TCFMGR(1) β the Tokyo Cabinet girlie's field guide π
okay so bestie, welcome to tcfmgr, aka the manual page for the command line utility of the fixed-length database API, straight out of Tokyo Cabinet. section 1. she's a real one. let's get into it π«Ά
β¨ NAME β¨
tcfmgr β the command line utility of the fixed-length database API
πΈ DESCRIPTION πΈ
okay so real talk: tcfmgr is a utility for test and debugging of the fixed-length database API and its applications. it's giving lab coat, it's giving "i'm poking at this thing on purpose". and she takes a bunch of little placeholder words that you gotta know, so let's define the girlies first:
pathβ specifies the path of a database file.widthβ specifies the width of the value of each record.limsizβ specifies the limit size of the database file.keyβ specifies the key of a record.valueβ specifies the value of a record.fileβ specifies the input file.
got all that? slay. now here's the whole menu of what she can do, no cap, nothing skipped:
tcfmgr create path [width [limsiz]]β Create a database file.tcfmgr inform [-nl|-nb] pathβ Print miscellaneous information to the standard output.tcfmgr put [-nl|-nb] [-sx] [-dk|-dc|-dai|-dad] path key valueβ Store a record.tcfmgr out [-nl|-nb] [-sx] path keyβ Remove a record.tcfmgr get [-nl|-nb] [-sx] [-px] [-pz] path keyβ Print the value of a record.tcfmgr list [-nl|-nb] [-m num] [-pv] [-px] [-rb lkey ukey] [-ri str] pathβ Print keys of all records, separated by line feeds.tcfmgr optimize [-nl|-nb] path [width [limsiz]]β Optimize a database file.tcfmgr importtsv [-nl|-nb] [-sc] path [file]β Store records of TSV in each line of a file.tcfmgr versionβ Print the version information of Tokyo Cabinet.
π OPTIONS π
the options are, and i quote the vibe but never the facts, featured as follows. every single one, bestie, we are not skipping a single flag π
-nlβ enable the optionFDBNOLCK.-nbβ enable the optionFDBLCKNB.-sxβ the input data is evaluated as a hexadecimal data string.-dkβ use the functiontcfdbputkeepinstead oftcfdbput.-dcβ use the functiontcfdbputcatinstead oftcfdbput.-daiβ use the functiontcfdbaddintinstead oftcfdbput.-dadβ use the functiontcfdbadddoubleinstead oftcfdbput.-pxβ the output data is converted into a hexadecimal data string.-pzβ do not append line feed at the end of the output.-m numβ specify the maximum number of the output.-pvβ print values of records also.-rb lkey ukeyβ specify the range of keys.-ri strβ specify the interval notation of keys.-scβ normalize keys as lower cases.
π EXIT STATUS π
this command returns 0 on success, and another on failure. periodt. so like, check your exit codes, iykyk.
π₯ SEE ALSO π₯
go be nosy, bestie, these are the sisters:
π and that's the whole page, no crumbs left behind. every flag, every placeholder, every function name β all present and accounted for, fr fr.
man page Β· 2012-08-18 Β· TCFMGR(1) β mwah, she's iconic, she's from Tokyo Cabinet, and she said what she said πβ¨ππ¦
π¦ where this page comes from
- centos-stream 10: tokyocabinet 1.4.48-30.el10 Β· LGPL-2.1-or-later
- centos-stream 9: tokyocabinet 1.4.48-19.el9 Β· LGPLv2+
- centos-stream 9: tokyocabinet 1.4.48-19.el9 Β· LGPLv2+
- debian bookworm: tokyocabinet-bin 1.4.48-15 Β· LGPL-2.1-or-later
- debian trixie: tokyocabinet-bin 1.4.48-15.1+b1 Β· LGPL-2.1-or-later
- fedora 43: tokyocabinet 1.4.48-28.fc43 Β· LGPL-2.1-or-later
- fedora 43: tokyocabinet 1.4.48-28.fc43 Β· LGPL-2.1-or-later
- fedora 44: tokyocabinet 1.4.48-30.fc44 Β· LGPL-2.1-or-later
- fedora 44: tokyocabinet 1.4.48-30.fc44 Β· LGPL-2.1-or-later
- nixos 26.05: tokyocabinet 1.4.48
- nixpkgs unstable: tokyocabinet 1.4.48
- ubuntu jammy: tokyocabinet-bin 1.4.48-14build1 Β· LGPL-2.1-or-later
- ubuntu noble: tokyocabinet-bin 1.4.48-15.1build1 Β· LGPL-2.1-or-later
- ubuntu questing: tokyocabinet-bin 1.4.48-15.1build2
- ubuntu resolute: tokyocabinet-bin 1.4.48-15.1build3 Β· LGPL-2.1-or-later
- ubuntu stonking: tokyocabinet-bin 1.4.48-15.1build3 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms