<?xml version="1.0" encoding="windows-1252"?>
<node id="218135" title="Nkuvu" created="2002-12-06 14:46:20" updated="2004-01-23 15:47:50">
<type id="15">
user</type>
<author id="218135">
Nkuvu</author>
<data>
<field name="doctext">
&lt;p&gt;Note the silly hat in accordance with [id://471642|PerlMonks Silly Hat Week].  I know, the week's up.  But I like the hat.
&lt;p&gt;Eee, line end-y goodness:
&lt;code&gt;Unix to DOS:
   perl -i -pe 's/\012/\015\012/g' unix-file
DOS (Mac? I'm so confused) to Unix:
   perl -i -pe 's/\015\012/\012/g' mac-file&lt;/code&gt;&lt;br&gt;
[planetscape] pointed to this nice [href://http://ccrma-www.stanford.edu/~craig/utility/flip/|reference page] on the line endings (including a C++ utility file), ending my confusion.
&lt;p&gt;Some simple links:&lt;br&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://nbpfaus.net/~pfau/cbhistory.cgi?site=PM"&gt;Chatterbox history&lt;/a&gt;
&lt;li&gt;&lt;a href="http://grenekatz.org/cgi-bin/MarkovBot?id=nkuvu"&gt;Markov Nkuvu&lt;/a&gt;
&lt;li&gt;[id://43037|Linking:]
&lt;ul&gt;&lt;li&gt;By Title: &lt;code&gt;[nodetitle]&lt;/code&gt;
&lt;li&gt;By Node ID: &lt;code&gt;[id://nodeid]&lt;/code&gt;
&lt;li&gt;A Monk's Scratch Pad: &lt;code&gt;[pad://monk name]&lt;/code&gt;
&lt;li&gt;Module searches at cpan.org: &lt;code&gt;[cpan://XML::Parser]&lt;/code&gt;
&lt;li&gt;Jargon File Entries: &lt;code&gt;[jargon://search terms]&lt;/code&gt;
&lt;li&gt;Link titles: &lt;code&gt;[http://perlmonks.org|The Perl Monastery]&lt;/code&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/visualc/vctoolkit2003/"&gt;MS Visual C++ Compiler&lt;/a&gt;
&lt;/ul&gt;
&lt;p&gt;Just went searching for this all over, and finally figured it out: The DOS record separator can be printed with &lt;code&gt;chr(0x1E)&lt;/code&gt; which makes a &amp;#9650; character (that should be a triangle, useful for delimiting variables in print statements used for debugging).  I saw it here on PM somewhere recently, but can't find it now...  oh well, I figured it out.
&lt;p&gt;My &lt;a href="http://tinymicros.com/pm/index.php?goto=PlotChart&amp;nodeid=218135"&gt;XP chart&lt;/a&gt;
&lt;p&gt;&lt;code&gt;-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d-(++) !s !a C++++ UBL+++ P+++ L+ E+ W+++ N !o K- w-- O-
M+ V- PS PE Y+ PGP !tv !t !5 !X R* b+ DI++ D G e++ h+ r* z-
------END GEEK CODE BLOCK------&lt;/code&gt;

&lt;!-- location:latitude=032.06.58,longitude=-110.56.28 --&gt;
&lt;!-- OS:OS X, Win2K, Linux --&gt;</field>
<field name="lasttime">
2013-01-02 22:19:50</field>
<field name="experience">
5002</field>
<field name="user_scratchpad">
359451</field>
<field name="imgsrc">
239564</field>
<field name="timeformat">
</field>
<field name="numwriteups">
484</field>
<field name="location">
&lt;a href="http://www.mapquest.com/maps/map.adp?latlongtype=decimal&amp;latitude=32.2361&amp;longitude=-110.941"&gt;Tucson&lt;/a&gt;</field>
<field name="timezone">
MST</field>
<field name="codewrapoff">
</field>
<field name="codewraplength">
100</field>
<field name="codeautowrap">
</field>
<field name="codeprefix">
</field>
<field name="codebig">
on</field>
</data>
</node>
