[TxMt] Re: How to transform a single column into two columns in TM2?
paul.mccann at adelaide.edu.au
Sat Jan 18 23:25:38 UTC 2014
that's not really something you'd expect to be built in, but the hooks are
there to apply pretty much any scripting language to get the job done: for
example, using Perl.
Text => Filter through command...
perl -pe 's/\n/ / if ($.%2)'
This substitutes a space for the newline character at the end of the line
if the line number ($.) is an odd number.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the textmate