All Questions
1
question
4
votes
4
answers
5k
views
How do I invoke jq inside awk?
Essentially I have a file.log as follow
blah blah
blah blah
Hello world | {"foo": "bar"}
blah blah
Hello earth | {"foo1": "bar1"}
Now my goal is to write some shell commands to have desire output ...