Elektra
0.8.25
|
This plugin is a storage plugin which writes keys to lists in the style of the Tcl programming language.
The format does not have significant spaces. The advantage of TCL style lists is that also arbitrary metadata can be embedded in a natural and distinguish-able style. It looks like:
{ { key=val { metakey = b } { comment = huhu } } }
`` <h1>Mount Tcl plugin to namespace
user/examples/tcl`
tcl
manually, since otherwise this command leaks memory.sudo kdb mount config.tcl user/tests/tcl tcl ccode null base64
kdb set user/tests/tcl/key value
kdb setmeta user/tests/tcl/key comment "This key contains example data."
kdb getmeta user/tests/tcl/key comment #> Thiskeycontainsexampledata.
kdb export user/tests/tcl tcl #> { #> { #> key = value #> { #> comment = Thiskeycontainsexampledata. #> } #> } #> }
kdb rm -r user/tests/tcl sudo kdb umount user/tests/tcl
sudo kdb mount config.tcl user/tests tcl ccode null base64
kdb import user/tests/dump xmltool < src/plugins/xmltool/xmltool/dump.xml
kdb ls user/tests/dump #> user/tests/dump/.HiddenBinaryKey #> user/tests/dump/.HiddenDirectoryKey #> user/tests/dump/.HiddenStringKey #> user/tests/dump/PerfectBinaryKey #> user/tests/dump/PerfectDirectoryKey #> user/tests/dump/PerfectStringKey #> user/tests/dump/Ug.ly:Bin €ryKey #> user/tests/dump/Ug.ly:Dir€oryKey #> user/tests/dump/Ug.ly:St€n.gKey
kdb get user/tests/dump/PerfectBinaryKey #>
kdb get user/tests/dump/Ug.ly:Bin €ryKey
kdb rm -r user/tests sudo kdb umount user/tests ```
libboost-dev