logoalt Hacker News

stavrostoday at 11:42 AM2 repliesview on HN

What expert would build a cli tool to avoid writing a bash one-liner?


Replies

dgellowtoday at 11:52 AM

I cannot judge without more context. Depending on the one liner, the problem at hand, and overall situation that can be justified. A CLI is straightforward to create.

A bash oneliner can be a chain of 5+ programs, each buffering the stdin/out, what if the CLI is doing the same operation via streams instead? Just a random example but that can easily be worth it

show 1 reply
leafarluatoday at 11:59 AM

Perhaps the ones that were experts before letting their brain rotten by AI.