Skip to content

A single quote yields triple quotes in YAML output #200

Answered by TomWright
antonalekseev asked this question in Q&A
Discussion options

You must be logged in to vote

This should do the job:

echo ""|dasel put string -p yaml 'foo' "$SHELL"

There final argument will be the string value used. Using the single quotes is redundant and is being considered part of the value itself

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@antonalekseev
Comment options

Answer selected by TomWright
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants