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.
Some recent threads implied that you cannot use ontape unattended.
I disagree! See Shell script below.
Regards,
Doug Lawry
www.douglawry.webhop.org
# Run an automated Informix "ontape" backup
# Doug Lawry, 20/11/95
case $1 in
'') set -- 0 ;;
[012]) ;;
*) echo "Usage: $0 level (0-2)" ; exit 1 ;;
esac
AWK='NF > 0 && $0 != last {print ; last = $0}'
exec echo | ontape -s -L $1 | tr '\\b' '\\n' | awk "$AWK"
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.