[CentOS] question on whiptail

Jerry Geis

geisj at pagestation.com
Sat Jun 6 01:56:58 UTC 2009


There is a script that uses whiptail command.

Is there a way to wrap the script that calls whiptail 4 times
and just send a carriage return to each character window that pops up?

I want it to basically just accept the default option for each of the
four prompted windows. without me hitting return 4 times.

How do I do that?

I tried unsuccessfully:
script_calling_whiptail  << EOF
\n
\n
\n
\n
\n
EOF
~   
I dont want to change/edit the script as it may change again in the 
future.       

Thanks

Jerry



More information about the CentOS mailing list