Emanuele Torre
Emanuele Torre
jq 1.7 released with the fix. closing
I suggest using `del(.project.channels[] | select(.cVal != "South"))` instead of `.project.channels |= map(select(."cVal" == "South"))`. `map()` will convert `.project.channels` to an array if it is an object, using `del()` makes...
jq 1.7 released with changed behaviour as requested. closing
@LaurentGoderre note that `["foo","bar"][]` is basically just `("foo", "bar")` for constants. You can rewrite that as just: ```sh jq 'del(.[keys[] | select(IN("a", "b", "z") | not)])'
Well, those "solutions" that were just mentioned would only work for one level.
> Order: from highest precedence (most binding) to lowest precedence (least binding).
jq 1.7 released with support for literal large numbers. closing
> Does anybody know the reason why the limit exists? It's annoying me VERY much. @subnut https://github.com/baskerville/sxhkd/issues/192#issuecomment-667568865
> if a command gets cut off. It doesn't "get cut off" (assuming you mean that characters after the 512th get ignored). The keybind does get added at all.
You are right, I was doing a bad test. This can also be tested with ```shell super + x notify-send aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa b ``` This will send a notification with a...