Re: ontape question
Posted in 1997
Schneider Peter — — source: Informix-list mailing list archive (1991-1998)
You should use the so called "here document"
ontape -s -L 0 <<END
END
The empty line simulates the CR.
Peter Schneider, speeking for my one!
Timothy Jones <tojones@romac.com> wrote in <3379FA7F.2A66@romac.com>...
> I know I have seen the answer to this, but can't find it......
>
> I need to run "ontape --s -L 0" command in a script and not get the
> prompt to mount the tape. I know not to run in the background, but
> should be able to run from a script.
>
> Thanks in advance!!!
> TJ
>