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 -->
  #5 (permalink)  
Old 08-29-2007
ilan ilan is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 101
Quote:
Originally Posted by Shell_Life View Post
Have you tried piping the answers:
Code:
echo 'Ans1\nAns2\nAns3" | your_sript

Hello,

can you please tell me how to send "enter" as part of answers in the above trick!!
say here Ans1 = Ans2 = Y and Ans3 being the "enter"

-ilan