On 09/17/2009 05:12 PM, Nadeem M. Khan wrote:
> Hello.
>
> I'm trying to automate a script in ksh using a here document, but need
> to enter the space bar between two commands. Is there any way I can
> achieve this?
>
> command1< EOF
> command2
> space bar
> command3
> EOF
>
> How do I translate the space bar? I tried \r, \n, " " but no luck.
Ummm, the literal space (" ") character doesn't work ? ...before command3 (as
in
") command3" or after command2 (as in "command2 ") ?
btw, what is a 'here' document ?
cheers,
- steve
--
random non tech spiel: http://lonetwin.blogspot.com/
tech randomness: http://lonehacks.blogspot.com/
what i'm stumbling into: http://lonetwin.stumbleupon.com/
--
http://mm.glug-bom.org/mailman/listinfo/linuxers