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

	<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-26T16:23:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-01-26T16:23:04-04:00</updated>

		<published>2004-01-26T16:23:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32909#p32909</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32909#p32909"/>
		<title type="html"><![CDATA[Only show one atime of 10 files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32909#p32909"><![CDATA[
Is/was an web page generator with the files of a dir.. umm.. duno, maybe cos I don't use it anymore..<br><br>Btw, nice eyes moving thing <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=187">caesar</a> — Mon Jan 26, 2004 4:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-01-26T16:05:18-04:00</updated>

		<published>2004-01-26T16:05:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32907#p32907</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32907#p32907"/>
		<title type="html"><![CDATA[Only show one atime of 10 files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32907#p32907"><![CDATA[
<blockquote class="uncited"><div>I shall delete this old .tcl file cos makes me do bad things <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>Why not update it? <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=2878">user</a> — Mon Jan 26, 2004 4:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-01-26T15:51:42-04:00</updated>

		<published>2004-01-26T15:51:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32905#p32905</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32905#p32905"/>
		<title type="html"><![CDATA[Only show one atime of 10 files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32905#p32905"><![CDATA[
Damn, I tend to rush things and don't go directly to the source of things first.. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> Thanks for pointing that out (again) <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> I think I shall delete this old .tcl file cos makes me do bad things <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=187">caesar</a> — Mon Jan 26, 2004 3:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-01-26T14:56:01-04:00</updated>

		<published>2004-01-26T14:56:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32900#p32900</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32900#p32900"/>
		<title type="html"><![CDATA[Only show one atime of 10 files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32900#p32900"><![CDATA[
<blockquote class="uncited"><div>catch catch catch</div></blockquote>We've been through this <a href="http://forum.egghelp.org/viewtopic.php?t=5487" class="postlink">before</a> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> There's no need to catch 'glob' ...use the -nocomplain option if you don't want errors when there's no matches.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Jan 26, 2004 2:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-01-26T14:46:07-04:00</updated>

		<published>2004-01-26T14:46:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32899#p32899</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32899#p32899"/>
		<title type="html"><![CDATA[Only show one atime of 10 files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32899#p32899"><![CDATA[
For subdirs:<div class="codebox"><p>Code: </p><pre><code>catch { glob -type d &lt;path&gt;/* } dirs</code></pre></div>and for files:<div class="codebox"><p>Code: </p><pre><code>catch { glob -type f &lt;path&gt;/* } files</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Jan 26, 2004 2:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-01-26T12:25:25-04:00</updated>

		<published>2004-01-26T12:25:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32888#p32888</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32888#p32888"/>
		<title type="html"><![CDATA[Only show one atime of 10 files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32888#p32888"><![CDATA[
What made you think passing the string "./logs/" to 'foreach' would give you a directory listing?<br>Use '<a href="http://tcl.tk/man/tcl8.4/TclCmd/glob.htm" class="postlink">glob</a>' to list files.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Jan 26, 2004 12:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Rusher2K]]></name></author>
		<updated>2004-01-26T11:25:33-04:00</updated>

		<published>2004-01-26T11:25:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32886#p32886</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32886#p32886"/>
		<title type="html"><![CDATA[Only show one atime of 10 files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32886#p32886"><![CDATA[
Hello i want to write a scripts that delet all logs in my logs direktory what are older than 20 days bus when i use :<div class="codebox"><p>Code: </p><pre><code>!tcl foreach file ./logs/ { set time2 [file atime $file]; set time2 [ctime $time2] ;putserv "PRIVMSG $chan :$time2 " }</code></pre></div>It only response one of the files <div class="codebox"><p>Code: </p><pre><code> Mon Jan 26 14:53:38 2004&lt;empty string&gt; - clicks: 335</code></pre></div>but why ?<br><br>And my log dir has some Sub-direktory`s how i let him fetch all direktory`s ?<br>Thx for Help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3034">Rusher2K</a> — Mon Jan 26, 2004 11:25 am</p><hr />
]]></content>
	</entry>
	</feed>
