Talk:Yes (Unix)

From Wikipedia, the free encyclopedia

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.