Mattias Wadman

Results 823 comments of Mattias Wadman

I noticed now that there is at least one `a op= b` test that would fail with the documented behavior https://github.com/stedolan/jq/blob/master/tests/jq.test#L1016. I guess the tests are as close to a...

@pkoppstein Yes would be a good additions i think. I will probably send PR to update to manual also unless someone does it before me. Hopefully it will get merged...

Yes i was not expecting it to evaluate RHS and after thinking a bit more in regards to jq having functions with side effects i agree it feels like a...

Extracted the `//=` behavior into its own issue so it's not forgotten #2410

@itchyny I didn't know about the `LHS + RHS` evaluation order, do you know why that is the case?

@pkoppstein Thanks for (2), very well written article. I will surely use it and link people to it. I've thought about writing some kind of "practical jq" article that walks...

@stokito I think you want `jq . resp.ndjson`. The reason `jq < resp.ndjson` works i think is because jq assumed the program to be "." if no program argument was...

Not sure i follow what you want different from the current default behaviour which is to keep reading json values from the inputs as long as there is only whitespace...

@Akash187 you sure it's spaces, maybe your editor does some smartness on save etc? if your unsure have a look with `hexdump -C` etc