Talk:Yes (Unix)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Linux (Rated Start-class)
WikiProject icon This article is within the scope of WikiProject Linux, a collaborative effort to improve the coverage of Linux on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Start-Class article Start  This article has been rated as Start-Class on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.
 

[Untitled][edit]

Pretty much rewrote this entry.

  • Removed the example of using it in conjunction with 'rm' - 'rm -f', as noted, achieves the exact same thing as 'yes|rm', assuming that rm is aliased to 'rm -i'.
  • Changed occurances of 'Expletive' to 'STRING'
  • Added options, as found in the man page
  • Clarified how yes(1) works - basically, runs until killed or the pipe breaks. Previous entry suggested it kept going, or at least was ambiguous to that regard. See rev history.
  • Removed See Also. "The environment file" is ambiguous, and as near as I can tell, yes doesn't really rely on locales a whole lot.
  • Removed some of the arbitrary line breaks for cleanup, and restructured internal headers.

—Preceding unsigned comment added by Ke6isf (talkcontribs) 21:08, 18 February 2006

This program can have other uses too, such as:

yes > /dev/dsp
yes yyy > /dev/dsp
yes yyyyy > /dev/dsp

--zzo38() 03:04, 23 May 2010 (UTC)

History?[edit]

Can we possibly get some history on this and other core commands? It would be interesting to know if this (and other core commands) came about in UNIX, or if it was ported from Multics or earlier OSes. What the rational was for it, etc. I know yes is a trivial example, but it would still seem like appropriate content for the article. — Preceding unsigned comment added by Kyleaschmitt (talkcontribs) 17:54, 27 February 2012 (UTC)