Jennifer Pioch wrote:
On 10/31/07, Nikolay Molchanov <[EMAIL PROTECTED]> wrote:
Thank you very much, guys, for giving this example:
% yes | pkgrm ...
It really works! But it is absolutely not understandable why a standard Unix
solution
does not work:
% echo "y" | echo "y" | pkgrm ...
The pipe is wrong. You want (sh/ksh/ksh93/bash):
{ echo "y" ; echo "y" ; } | pkgrm
Unfortunately it does not work anyway. Truss file shows that pkgrm reads
both answers
at once, and then starts a child process, that will ask second question.
Thanks,
Nik
_______________________________________________
opensolaris-discuss mailing list
[email protected]