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

	<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>2005-04-23T04:00:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[pollar]]></name></author>
		<updated>2005-04-23T04:00:40-04:00</updated>

		<published>2005-04-23T04:00:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48454#p48454</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48454#p48454"/>
		<title type="html"><![CDATA[tail file &amp; exec question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48454#p48454"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set fileout [exec cat $file | grep -E "sshd|kernel"]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2501">pollar</a> — Sat Apr 23, 2005 4:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[incith]]></name></author>
		<updated>2005-04-23T02:20:01-04:00</updated>

		<published>2005-04-23T02:20:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48450#p48450</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48450#p48450"/>
		<title type="html"><![CDATA[tail file &amp; exec question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48450#p48450"><![CDATA[
Try <div class="codebox"><p>Code: </p><pre><code>.. grep -e ssh -e kernel</code></pre></div>HTH.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6130">incith</a> — Sat Apr 23, 2005 2:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[difoo]]></name></author>
		<updated>2005-04-22T16:00:36-04:00</updated>

		<published>2005-04-22T16:00:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48439#p48439</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48439#p48439"/>
		<title type="html"><![CDATA[tail file &amp; exec question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48439#p48439"><![CDATA[
hi, <br><br>i managed to have the bot parse the output of a specific file in realtime. but when i try to have him output only specific lines out of it, it only gives me errors. here's what i use:<br><br>set fileout [exec cat $file | grep -E 'sshd|kernel']<br>putserv "PRIVMSG $chan :$fileout"<br><br>i dont want alot of spam in my chan and only want to see lines containing sshd &amp; kernel but all i get is:<br><br>[21:59] child process exited abnormally<br>    while executing<br>"exec cat $file | grep -E 'sshd|kernel'"<br><br>the part below works like a charm, but outputs ANY line that gets written to the file i'm tailing:<br><br>set fileout [exec cat $file]<br>putserv "PRIVMSG $chan :$fileout"<br><br>any help on this?<br><br>difoo<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5153">difoo</a> — Fri Apr 22, 2005 4:00 pm</p><hr />
]]></content>
	</entry>
	</feed>
