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.
Jason Foster-Bey — — source: Informix-list mailing list archive (1991-1998)
A better way to do this is:
cat <<EOF > tmp.sql
create database $1 with log ansi;
EOF
This way, you can check the exit status in $? upon completion. Otherwise, you
will always get a 1 for the exit status.
--
Jason Foster-Bey, WQ3J (jasonfb@panix.com)
Programmer Analyst (formerly Senior Technical Support Analyst)
National Multiple Sclerosis Society
New York, NY 10017
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.