Open mmm286 opened 2 weeks ago
Does ... | tee errors | jq
also fail? if so could you post the whole or part of the errors file?
Does
... | tee errors | jq
also fail? if so could you post the whole or part of the errors file?
ctm run jobs:status::get -s "status=Ended Not OK" | tee errors | jq '.'
parse error: Unfinished string at EOF at line 2069, column 37
And how does the errors file look like? judging by the error message it seems like the file ends in the middle of a quoted string. If so i would guess the problem happens before jq, ex ctm for some reason behaving different when stdout is a file or pipe (buffer issues?), broken disk?
@mmm286 did figure it out? close issue?
Hi, I'm trying to do a pipe with jq to parser an api output and it gives me error:
However if I redirect to a file I don't have any problem:
Thanks