News for hackers. Stuff that matters.
Re:Gron – Make JSON Greppable by inshadows on Friday November 06, 2020 @11:17AM (#25008713)

    #!/usr/bin/jq -rf
    
    tostream | select(length == 2) | (
     ( [ .[0][] | tostring | gsub("[^\\w]"; "_") ] | join("_") )
     + "=" +
     ( .[1] | tostring | @sh )
    )

There are no comments on this comment yet.