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

	<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-08-21T14:44:31-04:00</updated>

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

		<entry>
		<author><name><![CDATA[NiTR8^]]></name></author>
		<updated>2004-08-21T14:44:31-04:00</updated>

		<published>2004-08-21T14:44:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39968#p39968</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39968#p39968"/>
		<title type="html"><![CDATA[Parsing information from a file, real time.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39968#p39968"><![CDATA[
<blockquote class="uncited"><div>please, anyone can help?</div></blockquote>Script sent in PM <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=4676">NiTR8^</a> — Sat Aug 21, 2004 2:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[difoo]]></name></author>
		<updated>2004-07-24T21:55:17-04:00</updated>

		<published>2004-07-24T21:55:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39045#p39045</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39045#p39045"/>
		<title type="html"><![CDATA[Parsing information from a file, real time.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39045#p39045"><![CDATA[
please, anyone can help?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5153">difoo</a> — Sat Jul 24, 2004 9:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[difoo]]></name></author>
		<updated>2004-07-22T16:59:53-04:00</updated>

		<published>2004-07-22T16:59:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38977#p38977</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38977#p38977"/>
		<title type="html"><![CDATA[Parsing information from a file, real time.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38977#p38977"><![CDATA[
Anyone?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5153">difoo</a> — Thu Jul 22, 2004 4:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[difoo]]></name></author>
		<updated>2004-07-20T11:22:31-04:00</updated>

		<published>2004-07-20T11:22:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38884#p38884</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38884#p38884"/>
		<title type="html"><![CDATA[Parsing information from a file, real time.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38884#p38884"><![CDATA[
I'm not able to code it myself, that's why I was looking for an existing script. What it should do is parse the output from /var/log/httpd.conf in #mycastle everytime the logfile gets updated (via apache when a user access my website) <br><br>Any help would be appreciated.<br><br>-difoo<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5153">difoo</a> — Tue Jul 20, 2004 11:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-07-20T08:18:38-04:00</updated>

		<published>2004-07-20T08:18:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38875#p38875</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38875#p38875"/>
		<title type="html"><![CDATA[Parsing information from a file, real time.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38875#p38875"><![CDATA[
<blockquote class="uncited"><div>How did you solve it? I'm looking for a similar script it seems impossible to do <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":-(" title="Sad"></div></blockquote>use a utimer (to check every 1-5 seconds) and what bisbis said<br><blockquote class="uncited"><div>hmm, well maybe i could make it check if the filesize of the log gets bigger, compared to its previous filesize (this is done at the start of the script). And if the filesize is bigger, it does a tail -n1 to get the latest line</div></blockquote><p>Statistics: Posted by Guest — Tue Jul 20, 2004 8:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[difoo]]></name></author>
		<updated>2004-07-18T14:03:56-04:00</updated>

		<published>2004-07-18T14:03:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38768#p38768</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38768#p38768"/>
		<title type="html"><![CDATA[Parsing information from a file, real time.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38768#p38768"><![CDATA[
How did you solve it? I'm looking for a similar script it seems impossible to do <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":-(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5153">difoo</a> — Sun Jul 18, 2004 2:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-04-09T15:05:12-04:00</updated>

		<published>2004-04-09T15:05:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35378#p35378</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35378#p35378"/>
		<title type="html"><![CDATA[Parsing information from a file, real time.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35378#p35378"><![CDATA[
Problem solved, works like a dream.<p>Statistics: Posted by Guest — Fri Apr 09, 2004 3:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-04-09T14:25:55-04:00</updated>

		<published>2004-04-09T14:25:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35375#p35375</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35375#p35375"/>
		<title type="html"><![CDATA[Parsing information from a file, real time.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35375#p35375"><![CDATA[
Because the other script is a shell script which asks for information from the user, then logs its action to a file.<br><br>There is a way to do this, because i've seen it in action but didnt see the code.<br><br>hmm, well maybe i could make it check if the filesize of the log gets bigger, compared to its previous filesize (this is done at the start of the script). And if the filesize is bigger, it does a tail -n1 to get the latest line<p>Statistics: Posted by Guest — Fri Apr 09, 2004 2:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-04-09T14:18:54-04:00</updated>

		<published>2004-04-09T14:18:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35374#p35374</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35374#p35374"/>
		<title type="html"><![CDATA[Parsing information from a file, real time.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35374#p35374"><![CDATA[
How should it know what are thouse new lines? I't possible to complicate it a bit and make it remember the last line he read but.. why is not possible to make that script to TCL?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Apr 09, 2004 2:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-04-09T14:04:32-04:00</updated>

		<published>2004-04-09T14:04:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35373#p35373</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35373#p35373"/>
		<title type="html"><![CDATA[Parsing information from a file, real time.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35373#p35373"><![CDATA[
<blockquote class="uncited"><div>Then how dose it know WHEN to read from the log file and paste the news? Also, can't you use an TCL script to do the same thing your "another script" is doing?</div></blockquote>It should check the logfile every lets say 5 seconds.<br>It's not possible to redo the other script in tcl<p>Statistics: Posted by Guest — Fri Apr 09, 2004 2:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-04-09T13:57:41-04:00</updated>

		<published>2004-04-09T13:57:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35370#p35370</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35370#p35370"/>
		<title type="html"><![CDATA[Parsing information from a file, real time.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35370#p35370"><![CDATA[
Then how dose it know WHEN to read from the log file and paste the news? Also, can't you use an TCL script to do the same thing your "another script" is doing?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Apr 09, 2004 1:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-04-09T13:27:12-04:00</updated>

		<published>2004-04-09T13:27:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35369#p35369</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35369#p35369"/>
		<title type="html"><![CDATA[Parsing information from a file, real time.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35369#p35369"><![CDATA[
<blockquote class="uncited"><div>Why just don't you report then write to file? The way you choose to go is like reinventing the wheel.. What you want to do with the write, read and report thing? Also, please do try to be more specific to get an better ideea of what you want to do and probably sugest you something even better.</div></blockquote>Thanks for your reply.<br><br>I need this because the data is written to the file by another script, which is not even done in tcl.<br><br>So basicly i want the tcl script to monitor the log file, and output every new line that is written to it<p>Statistics: Posted by Guest — Fri Apr 09, 2004 1:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-04-09T13:04:05-04:00</updated>

		<published>2004-04-09T13:04:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35367#p35367</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35367#p35367"/>
		<title type="html"><![CDATA[Parsing information from a file, real time.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35367#p35367"><![CDATA[
Why just don't you report then write to file? The way you choose to go is like reinventing the wheel.. What you want to do with the write, read and report thing? Also, please do try to be more specific to get an better ideea of what you want to do and probably sugest you something even better.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Apr 09, 2004 1:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-04-09T12:49:50-04:00</updated>

		<published>2004-04-09T12:49:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35365#p35365</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35365#p35365"/>
		<title type="html"><![CDATA[Parsing information from a file, real time.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35365#p35365"><![CDATA[
Hello, i've tried many ways but failed.<br>One part of my tcl script requires that it can parse data from a while, the second it is written to it.<br><br>Say we have file.log and i want the tcl script to open the file, and when a new line is written to it it outputs the line to a channel.<br><br>Is this possible at all?<p>Statistics: Posted by Guest — Fri Apr 09, 2004 12:49 pm</p><hr />
]]></content>
	</entry>
	</feed>
