[rt-devel] Multiple Entries due to Network Downtime

Tobias Brox tobiasb at tobiasb.funcom.com
Tue Jun 13 05:46:11 EDT 2000


> (\Za is an evil hack to wait for EOF... it can never match.)

I think expect also is an evil hack.  I guess it's just the old cli that
is evil.  If you know the API, it should be almost as easy to make a perl
script that calls the right subs ... or maybe hack the cli not to ask for
"yes".  Anyway, I'm lazy, so I always fix such things directly through the
sql;

	update each_req set status='dead' where serial_num in (....);

well, of course that is an even more evil hack, as it doesn't create
transactions as it should.

-- 
"The trouble with the world is that the stupid are
 cocksure and the intelligent are full of doubt."
- Bertrand Russell







More information about the Rt-devel mailing list