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

	<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-25T19:46:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[mferra]]></name></author>
		<updated>2004-01-25T19:46:18-04:00</updated>

		<published>2004-01-25T19:46:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32879#p32879</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32879#p32879"/>
		<title type="html"><![CDATA[save and retreive control characters to file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32879#p32879"><![CDATA[
"..going blindly into the night" was a beautiful expression to what I did.  Nevertheless the problem is resolved.  And thank you for the quick reply.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4468">mferra</a> — Sun Jan 25, 2004 7:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-01-25T18:52:26-04:00</updated>

		<published>2004-01-25T18:52:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32876#p32876</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32876#p32876"/>
		<title type="html"><![CDATA[save and retreive control characters to file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32876#p32876"><![CDATA[
The thread would have helped if you had actually read what you were looking at.  You are using list operations on strings for starters, and then using list results as strings.... You need to use proper conversions when appropriate instead of going blindly into the night.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun Jan 25, 2004 6:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mferra]]></name></author>
		<updated>2004-01-25T17:55:10-04:00</updated>

		<published>2004-01-25T17:55:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32872#p32872</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32872#p32872"/>
		<title type="html"><![CDATA[save and retreive control characters to file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32872#p32872"><![CDATA[
In the fact the problem is worst.  Because the file gets the control characters has well.  But the thread that you've indicated did help and the parsing is better.  For future reference here is a way to convert the file again to human eyes <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised"> :<br><br>cat dic.dat | tr -d "\173" | tr -d "\175" &gt; dic-parsed.dat<br><br>it removes all { and } from the file.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4468">mferra</a> — Sun Jan 25, 2004 5:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-01-25T16:30:54-04:00</updated>

		<published>2004-01-25T16:30:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32867#p32867</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32867#p32867"/>
		<title type="html"><![CDATA[save and retreive control characters to file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32867#p32867"><![CDATA[
<a href="http://forum.egghelp.org/viewtopic.php?t=6671" class="postlink">http://forum.egghelp.org/viewtopic.php?t=6671</a><br><br>read this.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun Jan 25, 2004 4:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mferra]]></name></author>
		<updated>2004-01-25T13:24:45-04:00</updated>

		<published>2004-01-25T13:24:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32864#p32864</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32864#p32864"/>
		<title type="html"><![CDATA[save and retreive control characters to file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32864#p32864"><![CDATA[
First of all hi there to all tcl gurus <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>For 3 months now I've be writing a learn script:<br><br>1.  <a href="http://dicinfo.sourceforge.net/" class="postlink">http://dicinfo.sourceforge.net/</a><br><br>But now I've encountered an error that I can't seem to resolve (the only bug I think). If some one does a:<br><br>!l key bbb "bla" aaa<br><br>the word bla is saved on the text file without the "".  If it one does:<br><br>!l key bbb "bla" " aaa<br><br>I get a "unmatched open quote in list" error.  I'm getting the text to save a definition like this:<br><br>set phrase [lrange $text 1 end]<br><br>and later:<br><br>puts $fp "$time $nick $unikey $phrase"<br><br>I've red the tcl documentation but nothing works.  Especially when a odd number of " (or other control characters) appear in the definition.  My idea was to save the string as is learned on the text file, and later retrieve it in the same state.<br><br>Does any one has a clue how to do this?  (there can be also """bla""" inside the definition?)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4468">mferra</a> — Sun Jan 25, 2004 1:24 pm</p><hr />
]]></content>
	</entry>
	</feed>
