<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/8651" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2004-11-23T12:29:00-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/8651</id>

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-11-23T12:29:00-04:00</updated>

		<published>2004-11-23T12:29:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43035#p43035</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43035#p43035"/>
		<title type="html"><![CDATA[exec output processing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43035#p43035"><![CDATA[
you can pipe the shell command output to your script, but the proper way to interface mysql database from tcl would be to use an appropriate externsion/package, for example <a href="http://www.xdobry.de/mysqltcl" class="postlink">mysqltcl</a> (or mysql.mod eggdrop module)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Nov 23, 2004 12:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tebor]]></name></author>
		<updated>2004-11-23T11:50:56-04:00</updated>

		<published>2004-11-23T11:50:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43034#p43034</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43034#p43034"/>
		<title type="html"><![CDATA[exec output processing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43034#p43034"><![CDATA[
Hi Community<br><br>I am working on a script letting eggdrop do certain functions on a mysql database by evoking the unix shell command mysql. Executing works perfect but I am wondering how I can reuse the output delivered. For example I am doing a search on the DB and get a list. Hence it is multiple lines I can just put it into a variable.<br>At the moment I would be happy if I can reroute the output to a PRIVMSG.<br>Is it possible to populate an array holding the various lines of the comamnd output?<br><br><br>Tebor<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5434">tebor</a> — Tue Nov 23, 2004 11:50 am</p><hr />
]]></content>
	</entry>
	</feed>
