I tried another way to pass 2 "y" replies:

rm -f /tmp/yes.txt
touch /tmp/yes.txt
echo "y" >> /tmp/yes.txt
echo "y" >> /tmp/yes.txt
cat /tmp/yes.txt | pkgrm SPROprfnx

And it also does not work. It reads fisrt "y", but ignores the second "y".
At the same time /usr/sbin/pkgadd works just fine. It also asks 2 questions,
but reads both answers without any problems.

I can create a tar file to show how pkgrm ignores second reply.

Thanks,
Nik
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to