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

	<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-05-02T03:47:49-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-05-02T03:47:49-04:00</updated>

		<published>2005-05-02T03:47:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48859#p48859</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48859#p48859"/>
		<title type="html"><![CDATA[this code for windows]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48859#p48859"><![CDATA[
theoretically he could use the linux variant (refer:)<div class="codebox"><p>Code: </p><pre><code>C:\Dokumente und Einstellungen\De Kus&gt;tail --helpUsage: tail [OPTION]... [FILE]...Print the last 10 lines of each FILE to standard output.With more than one FILE, precede each with a header giving the file name.With no FILE, or when FILE is -, read standard input.Mandatory arguments to long options are mandatory for short options too.      --retry              keep trying to open a file even if it is                           inaccessible when tail starts or if it becomes                           inaccessible later; useful when following by name,                           i.e., with --follow=name  -c, --bytes=N            output the last N bytes  -f, --follow[={name|descriptor}]                           output appended data as the file grows;                           -f, --follow, and --follow=descriptor are                           equivalent  -F                       same as --follow=name --retry  -n, --lines=N            output the last N lines, instead of the last 10      --max-unchanged-stats=N                           with --follow=name, reopen a FILE which has not                           changed size after N (default 5) iterations                           to see if it has been unlinked or renamed                           (this is the usual case of rotated log files)      --pid=PID            with -f, terminate after process ID, PID dies  -q, --quiet, --silent    never output headers giving file names  -s, --sleep-interval=S   with -f, sleep for approximately S seconds                           (default 1.0) between iterations.  -v, --verbose            always output headers giving file names      --help     display this help and exit      --version  output version information and exitIf the first character of N (the number of bytes or lines) is a `+',print beginning with the Nth item from the start of each file, otherwise,print the last N items in the file.  N may have a multiplier suffix:b 512, k 1024, m 1024*1024.With --follow (-f), tail defaults to following the file descriptor, whichmeans that even if a tail'ed file is renamed, tail will continue to trackits end.  This default behavior is not desirable when you really want totrack the actual name of the file, not the file descriptor (e.g., logrotation).  Use --follow=name in that case.  That causes tail to track thenamed file by reopening it periodically to see if it has been removed andrecreated by some other program.Report bugs to &lt;bug-coreutils@gnu.org&gt;.</code></pre></div>This would require following:<br>- Cygwin is installed<br>- Cygwin /bin directory is in windows "path" variable<br>- Eggdrop would be able to use TCL exec or open on Cygwin<br><br>so even if you fullfill the first 2 steps (the second steop could of course be replaced with giving a full path to tail.exe), you will still have to get around this smal bug. This no TCL bug, this is just a bug with Eggdrop under Cygwin (it however could be related to specific TCL versions, but there are not many TCL builds avaible to be used with Eggdrop under win32).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Mon May 02, 2005 3:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Galadhrim]]></name></author>
		<updated>2005-05-01T18:16:50-04:00</updated>

		<published>2005-05-01T18:16:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48845#p48845</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48845#p48845"/>
		<title type="html"><![CDATA[this code for windows]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48845#p48845"><![CDATA[
try "win" or "win32". It should be the same as linux exept for the dir separator "/" that is "\".<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2999">Galadhrim</a> — Sun May 01, 2005 6:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-05-01T12:32:10-04:00</updated>

		<published>2005-05-01T12:32:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48820#p48820</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48820#p48820"/>
		<title type="html"><![CDATA[this code for windows]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48820#p48820"><![CDATA[
you can't directly use open or exec with windrop, at least its not known to me.<br>however, there is a possible workaround: <a href="http://forum.egghelp.org/viewtopic.php?t=9376" class="postlink">http://forum.egghelp.org/viewtopic.php?t=9376</a><br>Note: its a workaround, not a solution!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sun May 01, 2005 12:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dizzle]]></name></author>
		<updated>2005-05-01T05:41:34-04:00</updated>

		<published>2005-05-01T05:41:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48800#p48800</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48800#p48800"/>
		<title type="html"><![CDATA[this code for windows]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48800#p48800"><![CDATA[
dont know if anyone know's how too script windows, this is a TCL scripting forum<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6156">Dizzle</a> — Sun May 01, 2005 5:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Idezo]]></name></author>
		<updated>2005-04-30T22:41:57-04:00</updated>

		<published>2005-04-30T22:41:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48796#p48796</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48796#p48796"/>
		<title type="html"><![CDATA[this code for windows]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48796#p48796"><![CDATA[
hello<br><br>I have this in a tcl script:<br><br>switch $machtype {<br>    "linux"   { set newsfile [open "| tail -n $npcl news_$chan.txt" "r+"] }<br>    "solaris" { set newsfile [open "| tail -$npcl news_$chan.txt" "r+"] }<br>  }<br><br>But what is it for windows?<br>Can some one help me with this?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6173">Idezo</a> — Sat Apr 30, 2005 10:41 pm</p><hr />
]]></content>
	</entry>
	</feed>
