<HTML>
<HEAD>
<TITLE>Re: Extreme slowness on files with long lines / no carriage returns</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>On 4/25/08 10:33 PM, in article 8A9B62C0-9280-4236-9A3F-33F4538780E4@gmail.com, "s.ross" <cwdinfo@gmail.com> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Well... you could do this on your file:<BR>
<BR>
cat foo.xml | ruby -e 'puts STDIN.read.gsub(/\>\</, ">\n<")' | mate<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
Kind of crude. Why wouldn't you just run the file thru "tidy"? m.<BR>
<BR>
-- <BR>
matt neuburg, phd = matt@tidbits.com, <a href="http://www.tidbits.com/matt/"><http://www.tidbits.com/matt/></a><BR>
A fool + a tool + an autorelease pool = cool!<BR>
One of the 2007 MacTech Top 25: <a href="http://tinyurl.com/2rh4pf"><http://tinyurl.com/2rh4pf></a><BR>
AppleScript: the Definitive Guide - Second Edition!<BR>
<a href="http://www.amazon.com/gp/product/0596102119"><http://www.amazon.com/gp/product/0596102119></a><BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>