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

	<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-09-23T08:26:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-09-23T08:26:21-04:00</updated>

		<published>2004-09-23T08:26:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41152#p41152</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41152#p41152"/>
		<title type="html"><![CDATA[read file TXT]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41152#p41152"><![CDATA[
there is a simular post i asked a while back check the forum<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Thu Sep 23, 2004 8:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2004-09-19T13:24:15-04:00</updated>

		<published>2004-09-19T13:24:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41018#p41018</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41018#p41018"/>
		<title type="html"><![CDATA[Re: read file TXT]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41018#p41018"><![CDATA[
<blockquote class="uncited"><div>hello...<br><br>can anyone tell me example how i can read file from txt...i would like to make it read LAST LINE from TXT file...<br><br>...so how i can make the tcl only get the line that reside at LAST LINE.<br><br>thanks</div></blockquote>read <a href="http://www.suninet.nl/tclguide/index.php?chap=11&amp;pg=-1" class="postlink">this tcl tutorial</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Sun Sep 19, 2004 1:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-09-19T08:56:41-04:00</updated>

		<published>2004-09-19T08:56:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41007#p41007</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41007#p41007"/>
		<title type="html"><![CDATA[read file TXT]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41007#p41007"><![CDATA[
I would say:<br><br>1. Open the file.<br>2. Split the data into lines.<br>3. Check how many lines are in the file.<br>4. Minus one from the total number of lines as index starts from 0.<br>5. Go and read the lastline from the split data.<br><br>or<br><br>You can use EOF with a while loop.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Sep 19, 2004 8:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-09-19T07:23:53-04:00</updated>

		<published>2004-09-19T07:23:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41003#p41003</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41003#p41003"/>
		<title type="html"><![CDATA[read file TXT]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41003#p41003"><![CDATA[
no it not help...<br><br>any other expert can help me..<br><br>thx.<p>Statistics: Posted by Guest — Sun Sep 19, 2004 7:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2004-09-19T06:39:37-04:00</updated>

		<published>2004-09-19T06:39:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41000#p41000</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41000#p41000"/>
		<title type="html"><![CDATA[read file TXT]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41000#p41000"><![CDATA[
<a href="http://forum.egghelp.org/viewtopic.php?t=6885" class="postlink">This</a> should help you a bit <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Sun Sep 19, 2004 6:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-09-19T03:22:36-04:00</updated>

		<published>2004-09-19T03:22:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40998#p40998</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40998#p40998"/>
		<title type="html"><![CDATA[read file TXT]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40998#p40998"><![CDATA[
hello...<br><br>can anyone tell me example how i can read file from txt...i would like to make it read LAST LINE from TXT file...<br><br>ok let say the content in txt is like :<br><br><blockquote class="uncited"><div>info<br><br>1<br>2<br>3<br>4<br>5<br>6<br><br>lastline</div></blockquote>so how i can make the tcl only get the line that reside at LAST LINE.<br><br>thanks<p>Statistics: Posted by Guest — Sun Sep 19, 2004 3:22 am</p><hr />
]]></content>
	</entry>
	</feed>
