Right after asking this question I "realized" that the problem was the exact same as another I'd faced before.

I marked as duplicate and then tried outputting into a /tmp file instead of the source I was using cat on.

After I made the change I found that I was still getting the original error.


cat my.json | jq -S > my.json

Now trying:

cat my.json | jq -S > /tmp/my.json

I still get the same error. Should I open a new question?

Problem with `cat my.json | jq -S > my.json`


I reopened your question, you can just edit it to say that you tried the solution mentioned in the other question but it didn't solve your problem.

  • Thanks I found the solution so I closed Nov 9 '17 at 17:24
  • 4
    @PhilipKirkbride please don't do that, if you can. If you've found the solution, post it as an answer and accept it. That way, the next person with the same problem will be able to find the answer.
    – terdon Mod
    Nov 9 '17 at 18:48
  • 1
    @terdon ok undeleted and answered Nov 9 '17 at 20:01
  • @Philip great, thanks!
    – terdon Mod
    Nov 9 '17 at 23:27
  • And yet it’s gone again now.
    – Scott
    Nov 15 '17 at 3:33
  • @Scott It got closed again, this time as a duplicate of unix.stackexchange.com/questions/367127/…, which looks to be an accurate duplicate (Philip had posted the same answer on his question before it got closed and he deleted it) Nov 15 '17 at 5:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .