K2HTOUCH(1)

πŸ“¦ version 1.0.101, in epel 10, epel 9, fedora 43, fedora 44

πŸ’– K2HTOUCH(1) β€” the glow-up ✨

okay so bestie, welcome to the K2HTOUCH manual page, section 1, straight outta the NoSQL(KVS) Library. yes we're in the K2HASH cinematic universe and this little icon is the utility tool. let's get into it πŸ’…


🌸 NAME 🌸

K2HTOUCH β€” the Utility Tool for K2HASH. it's giving tiny-but-essential, no cap.


✨ SYNOPSIS ✨

k2htouch [ -h ]

k2htouch
       FILE [ COMMANDS [ KEY ] [ VALUE ] ]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so k2htouch is a tool for create/add/modify/delete-ing key and value in a K2HASH file. that's it, that's the job, and it ate.

and here's the lore: this tool is used from the k2hedit script for editing by vi editor. so when you're out here living your vi life, this is the little helper doing the actual key-and-value work in the background. supporting character energy but honestly? main character behavior. 🫢


πŸŽ€ OPTIONS πŸŽ€

  • -h β€” display help. your little "wait what do I do" moment, solved.
  • FILE β€” specify the k2hash file path. you gotta tell it which file we're touching, bestie.

then the commands:

  • create β€” the command for creating a new k2hash file. fresh start, new era. 🌈
  • createmini β€” the command for creating a new k2hash file (mini size). same vibe, smol package. πŸ“
  • set [ KEY ] [ VALUE ] β€” the command for setting (adding) a key and value into the k2hash file. put it in there.
  • get [ KEY ] β€” the command for getting a value by the key from the k2hash file. read the receipts. πŸ”₯
  • delete [ KEY ] β€” the command for deleting the key from the k2hash file. blocking, but for data.
  • addsubkey [ KEY ] [ SUBKEY ] [ VALUE ] β€” the command for adding a subkey and value into a key. nesting era πŸ’œ
  • getsubkey [ KEY ] β€” the command for getting subkeys. peek at the little ones.
  • push [ queprefix ] [ value ] (-lifo or -fifo) β€” the command for push the que. yes -lifo or -fifo, pick your fighter.
  • pop [ QUEPREFIX ] β€” the command for pop the que. bye bestie πŸ‘‹
  • clear [ QUEPREFIX ] β€” the command for clear the que. wiped. clean slate. ✨
  • kpush [ queprefix ] [ value ] (-lifo or -fifo) β€” the command for push the keyed que. same energy, but keyed this time.
  • kpop [ QUEPREFIX ] β€” the command for pop the keyed que. and away it goes.
  • kclear [ QUEPREFIX ] β€” the command for clear the keyed que. poof. πŸ’€
  • list β€” the command for listing all key and value from the k2hash file. the full haul, no filter. πŸ‘‘
  • info β€” the command for print status of k2hashfile. a lil vibe check on your file.
  • dtor [on -conf dtorconffile | off] β€” the command for setting k2htpdtor (transaction plugin). on with a -conf dtorconffile, or just off. your call, queen.

🌈 ENVIRONMENT 🌈

  • K2HDBGMODE β€” the K2HDBGMODE environment sets the debugging message level, same as the -g option. the value is set as SILENT, ERR, WAN or INFO. and here's the fun part: when k2hlinetool catches the SIGUSR1 signal, the debugging message level is bumpup. the level is changed as order by SILENT, ERR, WAN, INFO, SILENT... and around we go, like a little carousel of chatter. 🎠
  • 2HDBGFILE β€” the 2HDBGFILE environment sets the file which is debugging message, this is as same as the -glog option. (and yes, that's literally how it's spelled in here, no I did not typo it, I am simply reporting the lore πŸ™ˆ)

🧚 SEE ALSO 🧚

k2hash(1), k2hlinetool(1), k2hreplace(1), k2hcompress(1), k2hedit(1)

the whole friend group. go say hi. 🫢


πŸ’€ BUGS πŸ’€

Please report owner and committers.

not me telling you to go bother the owner and committers directly, but that's literally what it says, so. πŸ’…

πŸ‘‘ AUTHOR πŸ‘‘

k2hash has been written by Tetsuya Mochizuki <temochiz@lycorp.co.jp>.


and that's the whole page bestie, we did it. this one's from K2HASH, dated February 2014 β€” an absolute vintage classic, still slaying. mwah πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from