the "yes" comand

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Wed Mar 4 22:36:03 PST 2009


if you have program that do too much questions like (are you sure), and 
you are sure then you do

yes|program

On Thu, 5 Mar 2009, Vasadi I. Claudiu Florin wrote:

> Hell-o,
>
> Ever wondered about the "yes" command? Well, I have. If one does "yes" into a 
> terminal one get's an infinit output of "y" on a new line each time. What's 
> the deal here?
>
> I saw the same thing on linux, but you only had to type "y" (those cheap 
> blokes :P)
>
> So... what's going on ?
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list