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

	<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>2003-04-13T16:26:56-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-04-13T16:26:56-04:00</updated>

		<published>2003-04-13T16:26:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19032#p19032</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19032#p19032"/>
		<title type="html"><![CDATA[file 2 list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19032#p19032"><![CDATA[
Or you can use read and split<br><div class="codebox"><p>Code: </p><pre><code>set fp [open file.dat r]set list [split [read -nonewline $fp] \n]close $fp</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Apr 13, 2003 4:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-04-13T15:37:53-04:00</updated>

		<published>2003-04-13T15:37:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19031#p19031</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19031#p19031"/>
		<title type="html"><![CDATA[file 2 list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19031#p19031"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set fid [open $file r]while {![eof $fid]} {  set line [gets $fid]  lappend somelist $line}close $fid</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Sun Apr 13, 2003 3:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-04-13T15:20:28-04:00</updated>

		<published>2003-04-13T15:20:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19030#p19030</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19030#p19030"/>
		<title type="html"><![CDATA[file 2 list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19030#p19030"><![CDATA[
Hi,<br>i want to make in script where i want to use an database (.dat).<br>Everyline is one entry. Now i want to convert the file into an list.<br><br>How can I make this?<br><br>Plz help<br>Thx<br>Smokefoot<p>Statistics: Posted by Guest — Sun Apr 13, 2003 3:20 pm</p><hr />
]]></content>
	</entry>
	</feed>
