Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Dominic Soh — — source: Informix-list mailing list archive (1991-1998)
Hi,
how can I write a shell script to execute ontape? I tried the
following
command but it still wait for user input:
echo "\\n" | ./ontape -s -L 0
Can anyone with the solution email me? Thank you.
Dominic
↪ replying to Dominic Soh
Mike Eggleston — — source: Informix-list mailing list archive (1991-1998)
Use expect.
I have scripts setup for this if you want.
Dominic Soh wrote:
> Hi,
> how can I write a shell script to execute ontape? I tried the
> following
> command but it still wait for user input:
> echo "\\n" | ./ontape -s -L 0
>
> Can anyone with the solution email me? Thank you.
>
> Dominic
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.