News for hackers. Stuff that matters.
Re:jc – JSONifies the output of many CLI tools by chii on Thursday November 03, 2022 @06:06AM (#33449011)
`time` needs to be the one to exec the command because they need to know when the command they are timing starts. Therefore, `time` cannot use pipes, as by then, the command being timed would've already started!

`jc` doesn't need to know anything about the command producing the output - just the format of the output. So using a pipe and stdin makes a lot of sense.

There are no comments on this comment yet.