File input/output: Difference between revisions

m
→‎{{header|jq}}: any number of JSON entities
(jq moved)
m (→‎{{header|jq}}: any number of JSON entities)
Line 1,351:
</lang>
 
If the input file consists of JSON entities, and if we wish to "pretty print" iteach, then the following will suffice:<lang jq>
jq -M '. as $line | $line' input.txt > output.txt
</lang>
2,478

edits