I tried to do the asciinema recording with yaml but the missing newline makes it weird
kdb set user/hello/hello/world "Hello World"
kdb export user/hello yaml
Note that elektra $ is the user and $ the delimiter (shell configured that way in docker image)
elektra $ kdb export user/hello yaml
hello:
world: Hello World!
elektra $
elektra $ kdb export user/hello yaml
hello:
world: Hello Worldelektra $
docker run -it elektra/elektra
Thank you for reporting! I can reproduce it also without the docker image.
@sanssecours can you take a look please?
@sanssecours can you take a look please?
Sorry, I do not think I have time for that at the moment.
workaround is something like:
echo `kdb export user/hello yaml`
Doing this in the asciinema recording would be really weird...
If you want a quick “workaround”, then just replace the line:
with the code
output << data << endl;
.
@sanssecours thank you!
I applied this patch only to the docker image. It's basically only a playground anyway.
Maybe we can fix this properly before the next release.
Most helpful comment
Sorry, I do not think I have time for that at the moment.