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.
Schneider Peter — — source: Informix-list mailing list archive (1991-1998)
John Morton <mortonj@interlog.com> wrote in article
<335695a5.186425653@news.interlog.com>...
> Hi there. We're looking at automating our nightly archive via a shell
> script (AIX) run via cron, but we can't figure out how to simulate the
> enter key after the tape is mounted.
>
You should use the so called here-document:
ontape -s -L 0 <<END
END
The empty line simulates the enter key.
Your privacy choices
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.