Hello,

The default pkgadd/pkgrm work in interactive mode and there are multiple 
prompts to answer. How do I write a shell script to answer all these prompts 
automatically? 

I googled and tried the following,
pkgrm -n mypkg and
pkgrm mypkg <<EOF
y
y
EOF

However, not successful. Any idea?

Tom
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to