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

	<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-05-01T18:53:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Kripton]]></name></author>
		<updated>2004-05-01T18:53:14-04:00</updated>

		<published>2004-05-01T18:53:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36021#p36021</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36021#p36021"/>
		<title type="html"><![CDATA[Recursive-Glob-Search (once again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36021#p36021"><![CDATA[
Yes, ok! it works!<br><br>Everything was my fault! The user running the EggDrop didn't have the acces to search the MP3-Files! *doh*<br><br>Sorry!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4364">Kripton</a> — Sat May 01, 2004 6:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kripton]]></name></author>
		<updated>2004-05-01T18:47:12-04:00</updated>

		<published>2004-05-01T18:47:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36020#p36020</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36020#p36020"/>
		<title type="html"><![CDATA[Recursive-Glob-Search (once again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36020#p36020"><![CDATA[
Or may it be, the proc doesn't "like" folders containing spaces?<br>It managed to search to "Bob Marley and the Wailers" but didn't search this one! Can you fix that?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4364">Kripton</a> — Sat May 01, 2004 6:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-05-01T18:42:54-04:00</updated>

		<published>2004-05-01T18:42:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36019#p36019</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36019#p36019"/>
		<title type="html"><![CDATA[Re: Recursive-Glob-Search (once again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36019#p36019"><![CDATA[
The proc is called with a mask to match against filenames and an optional starting directory. It returns a list of files matching your pattern in the given directory and all its sub directories.<div class="codebox"><p>Code: </p><pre><code>foreach file [recursiveGlob *.mp3 /my/mp3s] {putlog $file}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Sat May 01, 2004 6:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kripton]]></name></author>
		<updated>2004-05-01T18:30:36-04:00</updated>

		<published>2004-05-01T18:30:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36017#p36017</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36017#p36017"/>
		<title type="html"><![CDATA[Recursive-Glob-Search (once again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36017#p36017"><![CDATA[
Hello!<br>When searching the "recursive glob"-search here in the forum, I found:<br><blockquote class="uncited"><div>proc recursiveGlob {pattern {dir ./}} {<br>   set files [glob -nocomplain -types f -dir $dir $pattern]<br>   foreach d [glob -nocomplain -types d -dir $dir *] {<br>      set files [concat $files [recursiveGlob $pattern $d]]<br>   }<br>   set files<br>}</div></blockquote>Yes, it DOES look nice, but how do I "start" this one? How do I have to pass the params "pattern" and "dir" to the proces (the "pattern {dir ./}" is too much for me).<br>And what is the output, when it has finished searching everything? Does it write everything to var "files"?<br><br>Please Comment! THX<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4364">Kripton</a> — Sat May 01, 2004 6:30 pm</p><hr />
]]></content>
	</entry>
	</feed>
