logoalt Hacker News

unfuncotoday at 4:13 PM1 replyview on HN

    $ podman image ls --all --sort=size
…or was the point more about doing it in a pipeline?

Replies

jcgltoday at 4:49 PM

Yes, the point was about doing it in a pipeline. The pipeline is the basis for composition of plain text in the unix shell. If something as basic as sorting a table is hard to do, it should make us question just how good the unix shell/plain text philosophy actually is.

Baking --sort flags into shell tools is a sign that the tools do not compose well.