<HTML>
<HEAD>
<TITLE>Re: [Omaha.pm] Gotta love perl...</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
What? My 4 seconds of QA were insufficient? &nbsp;&nbsp;:)<BR>
<BR>
Try something like this?<BR>
<BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Courier New"><SPAN STYLE='font-size:13.0px'>$ perl -pi -e 's/\|\|[^ -~](\d\d:\d\d)/\|\|\n$1/g' j<BR>
</SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
j<BR>
<BR>
<BR>
<BR>
On 2/12/09 7:42 AM, &quot;Sean Baker&quot; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT COLOR="#000080"><FONT SIZE="4"><FONT FACE="Arial"><SPAN STYLE='font-size:13.0px'>It would be even better if it worked... &nbsp;</SPAN></FONT><SPAN STYLE='font-size:13.0px'><FONT FACE="Wingdings">J<BR>
</FONT><FONT FACE="Arial"><BR>
I don&#8217;t think this is working as you intended, or it doesn&#8217;t for me:<BR>
&nbsp;<BR>
</FONT></SPAN></FONT></FONT><FONT SIZE="4"><SPAN STYLE='font-size:13.0px'><FONT FACE="Courier New">$ perl -pi -e 's/\|\|[^ -~]\d\d:\d\d/\n/g' j<BR>
</FONT><FONT COLOR="#000080"><FONT FACE="Arial"> &nbsp;<BR>
The regex seems to be corrupting the timestamp. &nbsp;Look at the beginning of each line after you run it.<BR>
<BR>
</FONT></FONT></SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>