I have just found out how to do it: just press the enter key!!!



Karoly VEGH <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
06/23/2006 05:48 PM
Please respond to
Solaris-Users mailing list <[email protected]>


To
Solaris-Users mailing list <[email protected]>
cc

Subject
Re: [Solaris-Users] enter key in here document






On Fri, Jun 23, 2006 at 05:31:39PM -0400, [EMAIL PROTECTED] wrote:

> How can one code the ENTER key action in a here document? 
> For instance: 
> 
> #! /bin/sh 
> echo "Begin install" 
> cd /var/spool/pkg/mes 
> ./mesinstall <<EOF 
> ??Enter key?? 
> ??Enter key?? 
> 5600 
> ??Enter key?? 
> y 
> EOF 
> echo "Finish install" 
> exit 
> 
> Where "??Enter key??" should be equivalent to pressing the ENTER key

hmm... 

echo?


HTH

charlie/lanc

-- 
- Because it messes up the order in which you normally read text.
- Why is top-posting such a bad idea?
- Top-posting.
- What is the most annoying thing on Usenet?
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to