K2HLINETOOL(1)
π K2HLINETOOL β bestie's interactive command line tool for K2HASH π
okay so this is the manual for k2hlinetool, from the NoSQL(KVS) Library era of the K2HASH world. come thru, February 2014. π
β¨ NAME β¨
K2HLINETOOL β interactive command line tool for K2HASH, fr fr
π¦ SYNOPSIS π¦
k2hlinetool [OPTIONS] [ -f filename | -t filename | -m | -h ]
πΈ DESCRIPTION πΈ
so k2hlinetool is, like, an interactive tool β and no cap, it can test almost every interface in the K2HASH library. you can create, modify, and load transactions (archives) of the k2hash file straight from this thing. it's giving full control, honestly. π
it's got a CUI interface (yes bestie, terminal girlies rise), plus command history and all that good stuff. and if you ever forget how to use it? just type -h and it'll show you the usage. main character energy tbh. π
π OPTIONS π
-hβ display help. the little "hi bestie here's how this works" moment. π«Ά-f[K2HASH FILE] β specify a permanent k2hash file.-t[K2HASH FILE] β specify a temporary</> k2hash file.-mβ k2hash data lives on only memory. no disk, just vibes. β¨-mask[BIT COUNT] β specify the bit mask count for k2hash data.-cmask[BIT COUNT] β specify the collision bit mask count for k2hash data.-elementcnt[ELEMENT COUNT] β specify the element count for each k2hash table.-pagesize[BYTE] β specify the pagesize for each k2hash internal data.-ext[LIBRARY PATH] β specify an extension library for the hash function.-fullmapβ map all of the k2hash file onto memory when a k2hash file is specified. the whole thing. no crumbs. π-roβ work in read only mode when it's a permanent k2hash file.-initβ initialize the k2hash permanent file. fresh start, clean slate, slay. π§-lapβ print the lap time after finishing a command. we love a lil timing moment. β±οΈ-his[COUNT] β set the history count of commands.-libversionβ display the k2hash library version.-g[ERR | WAN | INFO] β set the debugging level.k2hlinetoolwill display debugging messages about itself. iykyk. π-glog[FILE PATH] β set the output file for debugging messages (default isstderr).-capiβ use the C API for the k2hash library. this option is testing for the library, so likeβ¦ handle with care bestie. π-run[FILE PATH] β run a command (history) file at starting. automatic, no manual typing, obsessed. π₯
π ENVIRONMENT π
K2HDBGMODEβ this environment variable sets the debugging message level, exactly the same as the-goption. the value gets set asSILENT,ERR,WAN, orINFO. and here's the fun part: whenk2hlinetoolcatches aSIGUSR1signal, the debugging message level gets bumpup'd. it cycles through in this order:SILENT,ERR,WAN,INFO,SILENTβ¦ and around and around we go. π2HDBGFILEβ this environment variable sets the file that debugging messages go to, and it works just like the-glogoption. (yes, that's spelled2HDBGFILEright there in the original, we don't make the rules, we just report them π)
π SEE ALSO π
k2hash(1), k2hreplace(1), k2hcompress(1), k2htouch(1), k2hedit(1)
the whole friend group, honestly. go say hi. π«Ά
π BUGS π
Please report owner and committers.
likeβ¦ just tell the owner and the committers, okay?? that's the whole instruction. π
π AUTHOR π
k2hash has been written by Takeshi Nakatani <ggtakec@gmail.com>.
π the sign-off π
and that's the tea, bestie β this page is from the K2HASH source, dated February 2014, and it's the K2HLINETOOL(1) manual. periodt. πβ¨πΈπ¦
π¦ where this page comes from
- epel 10: k2hash 1.0.101-1.el10_3 Β· MIT
- epel 9: k2hash 1.0.98-1.el9 Β· MIT
- fedora 43: k2hash 1.0.99-1.fc43 Β· MIT
- fedora 44: k2hash 1.0.100-2.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms