Some programs, for example. find (1) with the option -okor rm (1) with the option -i, etc .... ask yes / no questions. Some scripts may use these programs with these parameters.
Therefore, it is sometimes convenient to pass the output yesto these programs or scripts.
, , ( ) yes . , , .
, . .