[TxMt] Re: Extreme slowness on files with long lines / no carriage returns

Matt Neuburg matt at tidbits.com
Sat Apr 26 16:21:44 UTC 2008


On 4/25/08 10:33 PM, in article
8A9B62C0-9280-4236-9A3F-33F4538780E4 at gmail.com, "s.ross"
<cwdinfo at gmail.com> wrote:

> Well... you could do this on your file:
> 
> cat foo.xml | ruby -e 'puts STDIN.read.gsub(/\>\</, ">\n<")' | mate

Kind of crude. Why wouldn't you just run the file thru "tidy"? m.

-- 
matt neuburg, phd = matt at tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20080426/e9bf5d37/attachment.html>


More information about the textmate mailing list