3 ms·
That's what I really meant by saying a parameter, it should be an option/flag that's given explicitly at invocation, or just a different program name.
by veltas 1y ago
That's what I really meant by saying a parameter, it should be an option/flag that's given explicitly at invocation, or just a different program name.
- kps 1y agoJust go for `--json-output=filename` rather than playing games.
- 8n4vidtmkvmk 1y agoWhy filename? It doesn't need to know how to write files. That's what Greater than is for. Do --output=json
- kps 1y agoIt seemed that the author wants to write JSON in addition to regular output.
- 8n4vidtmkvmk 1y agoOh.. ya ok I guess you need to specify where to direct each output then. Kind of a weird use case. If it's not slow to process, you can usually just call the program twice.
- bcrl 1y ago--json-output=/dev/fd/3