Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
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 ...
Luong Ngoc Son's user avatar