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

	<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-07-07T22:35:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2002-07-07T22:35:46-04:00</updated>

		<published>2002-07-07T22:35:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8694#p8694</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8694#p8694"/>
		<title type="html"><![CDATA[how to delete a whole line in a textfile ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8694#p8694"><![CDATA[
Hmm, now the "last edited" message is showing up all of a sudden? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Sun Jul 07, 2002 10:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2002-07-07T22:34:06-04:00</updated>

		<published>2002-07-07T22:22:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8690#p8690</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8690#p8690"/>
		<title type="html"><![CDATA[how to delete a whole line in a textfile ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8690#p8690"><![CDATA[
Hmm, I just received the same error when posting that. After looking up the error in the phpbb2 forums, I suspect anyone else who replies to this thread will run into the error, although the post will get through. Seems a lot of phpbb2 users are having this problem, but I couldn't see a fix.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Sun Jul 07, 2002 10:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2002-07-07T22:09:48-04:00</updated>

		<published>2002-07-07T22:09:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8687#p8687</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8687#p8687"/>
		<title type="html"><![CDATA[how to delete a whole line in a textfile ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8687#p8687"><![CDATA[
Well, now I can't delete them because your last message would be out of context  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Sun Jul 07, 2002 10:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-07-07T12:20:22-04:00</updated>

		<published>2002-07-07T12:20:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8677#p8677</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8677#p8677"/>
		<title type="html"><![CDATA[how to delete a whole line in a textfile ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8677#p8677"><![CDATA[
err, it was giving me an error, I swear! lol<br><br>something like "general error - could not find notify_email template"<br><br>so I hit reload.. I guess it was posting the whole time!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sun Jul 07, 2002 12:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-07-07T12:18:58-04:00</updated>

		<published>2002-07-07T12:18:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8676#p8676</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8676#p8676"/>
		<title type="html"><![CDATA[-nonewline]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8676#p8676"><![CDATA[
You might want to add -nonewline to your puts statement.<br><br>puts -nonewline ...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sun Jul 07, 2002 12:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-07-07T12:18:38-04:00</updated>

		<published>2002-07-07T12:18:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8675#p8675</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8675#p8675"/>
		<title type="html"><![CDATA[-nonewline]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8675#p8675"><![CDATA[
You might want to add -nonewline to your puts statement.<br><br>puts -nonewline ...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sun Jul 07, 2002 12:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-07-07T12:18:04-04:00</updated>

		<published>2002-07-07T12:18:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8674#p8674</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8674#p8674"/>
		<title type="html"><![CDATA[how to delete a whole line in a textfile ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8674#p8674"><![CDATA[
You might want to add -nonewline to your puts statement.<br><br>puts -nonewline ...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sun Jul 07, 2002 12:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-07-07T11:40:13-04:00</updated>

		<published>2002-07-07T11:40:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8672#p8672</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8672#p8672"/>
		<title type="html"><![CDATA[how to delete a whole line in a textfile ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8672#p8672"><![CDATA[
thats great  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  thanks for your help !<p>Statistics: Posted by Guest — Sun Jul 07, 2002 11:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-07-06T23:09:47-04:00</updated>

		<published>2002-07-06T23:09:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8656#p8656</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8656#p8656"/>
		<title type="html"><![CDATA[how to delete a whole line in a textfile ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8656#p8656"><![CDATA[
Try this:<br><div class="codebox"><p>Code: </p><pre><code>proc deleteline {file line} {  set fd [open $file r]  set data [split [read $fd] "\n"]  close $fd  set data [lreplace $data [expr $line - 1] [expr $line - 1]]  set fd [open $file w]  puts $fd [join $data "\n"]  close $fd}</code></pre></div>Wcc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Sat Jul 06, 2002 11:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-07-06T18:12:43-04:00</updated>

		<published>2002-07-06T18:12:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8653#p8653</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8653#p8653"/>
		<title type="html"><![CDATA[how to delete a whole line in a textfile ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8653#p8653"><![CDATA[
that´s my question Wcc !<br>I dont know how. I need an example because there is no command to delete a line in a textfile. Please give me an example.<p>Statistics: Posted by Guest — Sat Jul 06, 2002 6:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-07-05T22:04:11-04:00</updated>

		<published>2002-07-05T22:04:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8634#p8634</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8634#p8634"/>
		<title type="html"><![CDATA[how to delete a whole line in a textfile ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8634#p8634"><![CDATA[
Read the file, delete the line, write the file again.<br><br>Wcc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Fri Jul 05, 2002 10:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-07-05T16:40:34-04:00</updated>

		<published>2002-07-05T16:40:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8624#p8624</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8624#p8624"/>
		<title type="html"><![CDATA[how to delete a whole line in a textfile ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8624#p8624"><![CDATA[
i made a script to store newslines in a textfile. Everything works fine, add news, list news, and so on. But deleting a line doesn´t work. I have no idea how to solve that thing <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by Guest — Fri Jul 05, 2002 4:40 pm</p><hr />
]]></content>
	</entry>
	</feed>
