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

	<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-01-29T23:59:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2004-01-29T23:59:04-04:00</updated>

		<published>2004-01-29T23:59:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33082#p33082</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33082#p33082"/>
		<title type="html"><![CDATA[reading txt file line]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33082#p33082"><![CDATA[
ps. the lynx command I use is:<br><br>bind time - "* * * * *" put:getnews<br><br>proc put:getnews { min hour day month year } {<br>exec lynx -preparsed -dump -width=5000 <a href="http://www.url.com" class="postlink">http://www.url.com</a> &gt; news/mkw.txt<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2210">NewzUK</a> — Thu Jan 29, 2004 11:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2004-01-29T23:57:08-04:00</updated>

		<published>2004-01-29T23:57:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33081#p33081</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33081#p33081"/>
		<title type="html"><![CDATA[reading txt file line]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33081#p33081"><![CDATA[
Hi<br><br>Have done a search in the forum and tried a few things but can't find/understand quite what I need.<br><br>I have a news txt file (news\mkw.txt) which lynx dumps every minute and I want to read the line which has /04 in it.<br><br>Here are 2 example lines of the raw line from the file:<br><br>9:03pm 01/29/04  NIKKEI DOWN 35.00 POINTS AT 10,744.44 BY MIDDAY BREAK<br><br>8:56pm 01/29/04  [[12]CAJ] NIKKO CITI THINKS CANON '04 ESTIMATES 'EASY TO ACHIEVE'<br><br>I'd like to send it to channel without the time and date in front, but display a time in USET 24 hour format like 20:56 (the bot sits in GMT timezone which is USET +5hrs)<br>A couple of other things is that if there's a ticker symbol at the start of the headline (the letters in the [ ]) I want to ignore the number that lynx assigns to it (normally anything from [7] through [15] - but if there's no ticker on the story, there is no number), also if the headline is the same as last time it read the file (ie not a new story) then for the bot not to send anything.<br><br>Would appreciate any help!<br>Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2210">NewzUK</a> — Thu Jan 29, 2004 11:57 pm</p><hr />
]]></content>
	</entry>
	</feed>
