<?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/7080" />

	<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-04-15T12:51:41-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-04-15T12:51:41-04:00</updated>

		<published>2004-04-15T12:51:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35571#p35571</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35571#p35571"/>
		<title type="html"><![CDATA[generator script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35571#p35571"><![CDATA[
Don't be lazy and follow user's example and figure out yourself what stuff should be removed to make it write just one file.. seesh..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Apr 15, 2004 12:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-04-15T12:20:58-04:00</updated>

		<published>2004-04-15T12:20:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35567#p35567</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35567#p35567"/>
		<title type="html"><![CDATA[generator script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35567#p35567"><![CDATA[
<blockquote class="uncited"><div>Yes, thanks but i need that all the lines to be generated to the same file, not every line to diferent file</div></blockquote>...and?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Apr 15, 2004 12:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[duofruo]]></name></author>
		<updated>2004-04-10T07:37:05-04:00</updated>

		<published>2004-04-10T07:37:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35395#p35395</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35395#p35395"/>
		<title type="html"><![CDATA[generator script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35395#p35395"><![CDATA[
Yes, thanks but i need that all the lines to be generated to the same file, not every line to diferent file<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4023">duofruo</a> — Sat Apr 10, 2004 7:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-03-17T07:57:53-04:00</updated>

		<published>2004-03-17T07:57:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34712#p34712</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34712#p34712"/>
		<title type="html"><![CDATA[Re: generator script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34712#p34712"><![CDATA[
<blockquote class="uncited"><div>I want that the tcl generate the 4 files that should be like this :<br>bot:member:code<br>shell:profile:search<br>tcl:faq:help</div></blockquote>Do you want tcl to just make up the contents of the 4th file? And how do you name the output files? Did I misunderstand something?<div class="codebox"><p>Code: </p><pre><code>set f1 [open file1]set f2 [open file2]set f3 [open file3]set i 0while {[gets $f1 1]&gt;0 &amp;&amp; [gets $f2 2]&gt;0 &amp;&amp; [gets $f3 3]&gt;0} {  set out [open "out[incr i]" w]  puts $out $1:$2:$3  close $out}close $f1close $f2close $f3</code></pre></div>(if you want it all in one file, just move the opening/closing of the output file outside the loop)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Mar 17, 2004 7:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[duofruo]]></name></author>
		<updated>2004-03-16T04:07:07-04:00</updated>

		<published>2004-03-16T04:07:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34666#p34666</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34666#p34666"/>
		<title type="html"><![CDATA[generator script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34666#p34666"><![CDATA[
Let`s say that exist 3 txt documents. I need a script that will read all of this documents, and generate a file whith all of this like this. <br>For example. The 1st file contains :<blockquote class="uncited"><div>bot   <br>shell<br>tcl</div></blockquote>The 2nd contains<blockquote class="uncited"><div>member<br>profile<br>faq</div></blockquote>And the 3rd contains<blockquote class="uncited"><div>code<br>search<br>help</div></blockquote><br>I want that the tcl generate the 4 files that should be like this :<br>bot:member:code<br>shell:profile:search<br>tcl:faq:help<br><br>Thx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4023">duofruo</a> — Tue Mar 16, 2004 4:07 am</p><hr />
]]></content>
	</entry>
	</feed>
