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

	<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>2002-04-09T11:44:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-09T11:44:00-04:00</updated>

		<published>2002-04-09T11:44:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6093#p6093</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6093#p6093"/>
		<title type="html"><![CDATA[dealing with 'exec tclsh "$0" "$@"]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6093#p6093"><![CDATA[
yup..<br>was one of those days where I just couldn't see the obvious.<br>Thanks guppy!<br><br>Otterboyy<p>Statistics: Posted by Guest — Tue Apr 09, 2002 11:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[guppy]]></name></author>
		<updated>2002-04-08T20:53:00-04:00</updated>

		<published>2002-04-08T20:53:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6083#p6083</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6083#p6083"/>
		<title type="html"><![CDATA[dealing with 'exec tclsh "$0" "$@"]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6083#p6083"><![CDATA[
#!/bin/sh<br>#<br>exec tclsh "$0" "$@"<br><br>I believe the tcl manual even says that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10">guppy</a> — Mon Apr 08, 2002 8:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-08T17:56:00-04:00</updated>

		<published>2002-04-08T17:56:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6076#p6076</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6076#p6076"/>
		<title type="html"><![CDATA[dealing with 'exec tclsh "$0" "$@"]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6076#p6076"><![CDATA[
can seem to get this to work:<br>******<br>#!/bin/sh<br>exec tclsh "$0" "$@"<br>set dir [file dirname [info script]]<br>puts $dir<br>set pwd [exec pwd]<br>puts $pwd<br>********<br><br>ofcourse the script works fine if I use tclsh scriptname.tcl and have removed the exe tclsh.. line, but I'm trying to understand how to use this function.<br>all help appreciated!!<br><br>Otterboyy<br><br><br><p>Statistics: Posted by Guest — Mon Apr 08, 2002 5:56 pm</p><hr />
]]></content>
	</entry>
	</feed>
