TCATEST(3)
π NAME π
tcamgr β the command line utility of the abstract database API. okay so yes, this is the Tokyo Cabinet page TCATEST(3), and we're about to get into it, bestie. π
β¨
β¨ DESCRIPTION β¨
tcamgr is a utility for test and debugging of the abstract database API and its applications. no cap, that's the whole assignment. π«Ά
here's the little dictionary of placeholders, because words matter:
nameβ specifies the name of a database.keyβ specifies the key of a record.valueβ specifies the value of a record.paramsβ specifies the tuning parameters.funcβ specifies the name of a function.argβ specifies the arguments of the function.destβ specifies the path of the destination file.
and now the command menu, served fresh:
tcamgr create nameβ create a database file. iconic. πtcamgr inform nameβ print miscellaneous information to the standard output.tcamgr put [-sx] [-sep chr] [-dk|-dc|-dai|-dad] name key valueβ store a record.tcamgr out [-sx] [-sep chr] name keyβ remove a record.tcamgr get [-sx] [-sep chr] [-px] [-pz] name keyβ print the value of a record.tcamgr list [-sep chr] [-m num] [-pv] [-px] [-fm str] nameβ print keys of all records, separated by line feeds.tcamgr optimize name paramsβ optimize a database file.tcamgr misc [-sx] [-sep chr] [-px] name func [arg...]β call a versatile function for miscellaneous operations.tcamgr map [-fm str] name destβ map records into another B+ tree database.tcamgr versionβ print the version information of Tokyo Cabinet.
the options are giving very much "here's the full toolkit", bestie:
-sxβ the input data is evaluated as a hexadecimal data string.-sep chrβ specify the separator of the input data.-dkβ use the functiontcadbputkeepinstead oftcadbput.-dcβ use the functiontcadbputcatinstead oftcadbput.-daiβ use the functiontcadbaddintinstead oftcadbput.-dadβ use the functiontcadbadddoubleinstead oftcadbput.-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.-fm strβ specify the prefix of keys.
exit status check, bestie: this command returns 0 on success, another on failure. periodt. π¦
π SEE ALSO π
go read these next, iykyk: tcatest(1), tcamttest(1), tcadb(3), tokyocabinet(3).
okay that's the whole page, bestie β source/version: Man Page; date: 2012-08-18; page: TCATEST(3). mwah πβ¨π¦
π¦ 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+
- 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
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms