3 ms·
It's not nice to abuse innocent cats. python -mjson.tool < unformatted.json | vim - If you're not using cat to concatenate things, the shell can probably
by ferrari8608 10y ago
It's not nice to abuse innocent cats.
python -mjson.tool < unformatted.json | vim -
If you're not using cat to concatenate things, the shell can probably handle the job.
- HappyTypist 10y agoPeople like cat because it allows notating the command closer to how they think. How can I pipe while putting the file first?
- yoha 10y agoWell, just do it: < unformatted.json python -mjson.tool | vim -
- thiht 10y agoWhat's the immediate advantage for me in using a less intuitive syntax? I understand cat is meant to concatenate files, so what?