On Thu, Sep 17, 2009 at 10:01 PM, Raj Mathur raju@linux-delhi.org wrote:
On Thursday 17 Sep 2009, steve wrote:
[snip] Ummm, the literal space (" ") character doesn't work ? ...before command3 (as in ") command3" or after command2 (as in "command2 ") ?
Not clear on what the OP wants, so no comment here.
Raj, I thought I was pretty clear in explaining what I needed. Let me give an example of how a sample script works with user intervention, and then without user intervention, autmated by here documents.
With user intervention:
#samplescript.ksh Are you sure you want to continue (y/n) ? y Enter number of blah blah[1-1000] 500 Hit the space bar to continue: I have to hit space bar here Are these setting correct? (y/n) y #
Without user intervention using here documents:
#samplescript.ksh <<EOF y 500 this line is where I need the list's help y EOF
Thanks, Nadeem.