News for hackers. Stuff that matters.
Re:A little story about the `yes` Unix command by jcelerier on Thursday July 21, 2022 @06:00AM (#32177479)
i really don't want to have to learn 12342384 programs. it's much less discoverable than having a few programs with a --help (and more generally a tree-based organization of functionality on your computer).

also, if there's a new program, say, "fastrepeat" wouldn't that be a duplication of functionality between "yes" which just outputs "y" and "fastrepeat 'y'" which is, like, even more bloat since now you need both ?

Re:A little story about the `yes` Unix command by jacquesm on Thursday July 21, 2022 @06:18AM (#32177601)
I would much rather have a very easy to remember command that does one thing and one thing only (namely, what it says on the tin) than to have to remember or dig through a whole slew of command line options in order to get 'yes' to become the equivalent to 'no' or 'cat'.
Re:A little story about the `yes` Unix command by jcelerier on Thursday July 21, 2022 @07:36AM (#32178146)
> I would much rather have a very easy to remember command that does one thing and one thing only

well, I definitely don't. I don't want to encumber my mind with a name for every single of the 25000 "one thing" things I have to do.

Re:A little story about the `yes` Unix command by mavhc on Thursday July 21, 2022 @07:34AM (#32178134)
really you want one program that outputs data, and yes is an alias to outputdatafast --data="y"