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

	<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-02-13T17:21:41-04:00</updated>

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

		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2004-02-13T17:21:41-04:00</updated>

		<published>2004-02-13T17:21:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33587#p33587</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33587#p33587"/>
		<title type="html"><![CDATA[Help about regexp syntax]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33587#p33587"><![CDATA[
Thx a lot, it's working <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=2661">cerberus_gr</a> — Fri Feb 13, 2004 5:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cvanmeer]]></name></author>
		<updated>2004-02-09T03:34:34-04:00</updated>

		<published>2004-02-09T03:34:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33355#p33355</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33355#p33355"/>
		<title type="html"><![CDATA[Help about regexp syntax]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33355#p33355"><![CDATA[
here is a lil thingie to help you get started.<br><div class="codebox"><p>Code: </p><pre><code>  set lookup [open "|/bin/grep -R #TINGIE YOU WANT TO SEARCH FOR# $arg"]  while {![eof $lookup]} {   catch {set result [gets $lookup]}   putserv "PRIVMSG $nick :$result"  }   catch {close $lookup}   return 1</code></pre></div>hope it helps.<br><br>gr.<br>Chris<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4215">cvanmeer</a> — Mon Feb 09, 2004 3:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2004-02-07T13:56:11-04:00</updated>

		<published>2004-02-07T13:56:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33311#p33311</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33311#p33311"/>
		<title type="html"><![CDATA[Help about regexp syntax]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33311#p33311"><![CDATA[
In a code i can use unix commands, such as lynx, wget etc. A lot of tcl scripts have one "clean" unxi command. So why is this a problem if I use the grep command.<br><br>Althought I have tcl 8.0 and glob has just one option <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br>Is the glob command so quick as the grep is?<br><br>Sorry, if my post isn't about tcl <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=2661">cerberus_gr</a> — Sat Feb 07, 2004 1:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-02-07T13:28:17-04:00</updated>

		<published>2004-02-07T13:28:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33309#p33309</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33309#p33309"/>
		<title type="html"><![CDATA[Help about regexp syntax]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33309#p33309"><![CDATA[
Since this is a tcl forum, I recommend taking a look at the "glob" command in the TCL manpages, instead of talking about unix commands.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sat Feb 07, 2004 1:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2004-02-07T13:13:41-04:00</updated>

		<published>2004-02-07T13:13:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33308#p33308</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33308#p33308"/>
		<title type="html"><![CDATA[Help about regexp syntax]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33308#p33308"><![CDATA[
I want to use grep command of linux so I need this syntax. Grep command has the same syntax as regexp.<br><br>Is there any better way to search 4 folders with 100 files each one for a string than grep command?<br><br>Thx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2661">cerberus_gr</a> — Sat Feb 07, 2004 1:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-02-05T22:58:07-04:00</updated>

		<published>2004-02-05T22:58:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33270#p33270</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33270#p33270"/>
		<title type="html"><![CDATA[Help about regexp syntax]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33270#p33270"><![CDATA[
you could use regexp, but 'string match' is more suited for this type of problem.<br><div class="codebox"><p>Code: </p><pre><code>if {[string match "*abc*ghi*" $line]} { ... abc and ghi are in this line ... }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Thu Feb 05, 2004 10:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2004-02-05T19:38:50-04:00</updated>

		<published>2004-02-05T19:38:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33269#p33269</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33269#p33269"/>
		<title type="html"><![CDATA[Help about regexp syntax]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33269#p33269"><![CDATA[
Hello,<br><br>Because I can't understand regexp could someone help me?<br><br>I want to use regexp in order to check if two words are in a sentence.<br>What I mean...<br><br>I have the lines:<br>abc def ghi jkl<br>abc dek jjs kks<br>abd jjs hsh ghi<br><br>and I want to search for abc AND ghi. I want to use regexp and this to return only 1st line.<br><br>What Should I do?<br><br>In mirc scripting this command is string1*string2, where * can contain 0 or more chrs. I want the same "method" for the regexp...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2661">cerberus_gr</a> — Thu Feb 05, 2004 7:38 pm</p><hr />
]]></content>
	</entry>
	</feed>
