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.
—Preceding unsigned comment added by Ke6isf (talk • contribs) 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)
[edit] History?
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 (talk • contribs) 17:54, 27 February 2012 (UTC)