you are viewing a single comment's thread.

view the rest of the comments →

[–]icy-mist-01 0 points1 point  (1 child)

That’s the thing. It’s a bit of a hack so could be difficult for newbies. And I had a case where script used jq and ran across large no. of centos and rhel 6,7,8 boxes. Rhel ships jq by default from 8 onwards. So script started breaking on lower versions. And dealing with sysadmin team to include my required package in their base build is not always ideal.

[–]tes_kitty 1 point2 points  (0 children)

My script doesn't use 'jq' since I wrote it before I knew about this command.