You want to use a here document. Ie,Quote:>I am struggling to do the following in a UNIX (Korn shell) script:
>e.g. in script
>#run myapp
>myapp
>1 <---
>2 <--- These are variables myapp should read
>$A_Variable <--- last one is string generated by my script
myapp << SOME_SYMBOL
1
2
$A_Variable
SOME_SYNBOL
echo "Script can resume here"
--