jq's syntax is different, but well worth remembering.
i have some flash cards if you'd like. a teensy amount of effort pays huge dividends with swiss knife software like this (and things like matplotlib, tar CLI options, etc)
Wow, that might be the best part of the update. System Integrity Protection shields /usr, /bin, and /sbin, so I prefer to use the system provided executables in those directories when possible.
switch007|1 year ago
wait, maybe it's...
$ jq '. | .messages.thank_you' < strings.json
darn it! how about
$ jq '[].messages.thank_you' < strings.json
!??@@!
LeoPanthera|1 year ago
gcr|1 year ago
i have some flash cards if you'd like. a teensy amount of effort pays huge dividends with swiss knife software like this (and things like matplotlib, tar CLI options, etc)
throwitaway1123|1 year ago
jxy|1 year ago
mdaniel|1 year ago
https://github.com/apple-oss-distributions/distribution-macO... hasn't been updated with a "jq" directory yet
shawn_w|1 year ago
subjectsigma|1 year ago
krelas|1 year ago
vbezhenar|1 year ago
andrelaszlo|1 year ago
Jk, thanks for the info! It's nice to know it's available on the system by default when writing scripts for my team.
wpm|1 year ago
ope wait that's just bash