The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 08-03-2007
eltinator eltinator is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 63
Quote:
Originally Posted by Shell_Life View Post
Have you tried piping the answers:
Code:
echo 'Ans1\nAns2\nAns3" | your_sript
Actually, the interactive question is not generated from a script I wrote. It's a java tool which ask me questions to create a certificate based on it. I guess my solution probably lies in trying to be able to program my script to answer these interactive questions which I'm not exactly sure how to do