Haha, no nothing is wrong. 'yes' is a unix command, just like 'cd' or 'ls'. The purpose of 'yes' is to use interactive programs in non-interactive scripts. Using a pipe, the 'yes' command answers 'y' to any question asked. However, if you just type it, it will go on forever.
---
I should add that it freaked me out when I first discovered it too.
Last edited by PatrickNew; 08-09-2007 at 11:25 PM.
|