Skip to content

Question from dumb v3 user #784

Answered by mikefarah
ClaudioFloreani asked this question in Q&A
Discussion options

You must be logged in to vote

this should do the trick:

yq eval '.Entity | ... comments=""' config/file.yml

For the record, documented here: https://mikefarah.gitbook.io/yq/v/v4.x/operators/comment-operators#remove-all-comments

Replies: 1 comment 1 reply

Comment options

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

Answer selected by ClaudioFloreani
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