-
Hello! I guess this may be a silly question. I read through the "upgrading from v3" document (https://mikefarah.gitbook.io/yq/upgrading-from-v3), but couldn't find an example on how to map using the old v3 flag |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Atm you can't do that - however in v4 you can have a multiple operations in a single expression, so I guess what you could do is create a bash script file with a single, multi-line expression #!/bin/bash
./yq e '
.a.key1 = "things" |
.a.ab.key2 = "whatever"
' ./examples/data1.yaml |
Beta Was this translation helpful? Give feedback.
Atm you can't do that - however in v4 you can have a multiple operations in a single expression, so I guess what you could do is create a bash script file with a single, multi-line expression