Hacker News new | ask | show | jobs
by DonHopkins 1147 days ago
I find it bothersome that the "yes" command outputs "y" by default instead of "yes". False advertising! Since Unix loves short concise command names, why not just name it "y"?
1 comments

It does so you can pipe to commands that want a string of "press y/N" sort of things.

If you want yes write `yes yes`. And one character commands are almost generally avoided. So don't name it "y".

    $ y not
    not
    not
    not
    not
    not
    not
    not
    not
    ...
I think it was just a joke from parent, not a legitimate question.