<div dir="ltr"><div>hmmmm.... using your example i get from textfile:<br><br></div>----print--<br><div>print: , comma at the beginning<br>print: comma, right after first word<br>print: comma in\\, the middle<br>print: comma at the end\\,<br>
</div><div>----/print--<br><br></div><div>i had not noticed before commas in beginning and after first word are displayed unescaped.... <br></div><div>BUT, notice with my console output i get a double &quot;\\&quot; while you get a single &quot;\&quot;<br>
<br></div><div>why might that be so?<br><br></div><div>i assume you are on 0.45 linux<br></div><div>my system is 0.45 osx 10.9<br><br></div><div>to answer your question I would rather see a unescaped comma in the console (without the escaping character)<br>
<br>&gt;&gt; Am I right in thinking it would be desirable if escaping characters wouldn&#39;t be displayed at all?<br><br></div><div>not at all. but then how to deal with a &quot;desirable&quot; comma?<br><br></div><div>m<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jan 26, 2014 at 6:08 AM, Roman Haefeli <span dir="ltr">&lt;<a href="mailto:reduzent@gmail.com" target="_blank">reduzent@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">On Sam, 2014-01-25 at 18:09 -0500, me.grimm wrote:<br>
&gt; I didnt realize this was a problem until i tried to read a textfile<br>
&gt; with a comma in it (yes escaped with a \)<br>
&gt;<br>
&gt; so &quot;hello\,world;&quot; gives me:<br>
&gt;<br>
&gt;<br>
&gt; hello\\,world<br>
&gt;<br>
&gt;<br>
&gt; now what?<br>
<br>
</div>What would you rather expect to see within Pd? Non-escaped commas or<br>
single-escaped commas? What version of Pd is that?<br>
<br>
I made a small test with most recent 0.45 from git and my results are<br>
somewhat different, though still a bit messy:<br>
<br>
----text--<br>
\, comma at the beginning;<br>
comma\, right after first word;<br>
comma in\, the middle;<br>
comma at the end\,;<br>
----/text---<br>
<br>
gives:<br>
<br>
----print--<br>
print: , comma at the beginning<br>
print: comma, right after first word<br>
print: comma in\, the middle<br>
print: comma at the end\,<br>
----/print--<br>
<br>
While commas at the beginning or after the first word are displayed<br>
unescaped, all other commas are shown with escaping character. Is that a<br>
bug? Am I right in thinking it would be desirable if escaping characters<br>
wouldn&#39;t be displayed at all?<br>
<br>
It might be worth to note that feeding those lines to another [textfile]<br>
leads to a text file identical to the source which might indicate this<br>
is only a displaying issue.<br>
<br>
Roman<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>____________________<br>m.e.grimm | m.f.a | ed.m.<br><a href="mailto:megrimm@gmail.com" target="_blank">megrimm@gmail.com</a><br>_________________________________
</div></div>