Faster CR -> LF Macro?
Tim Hubberstey
myredirector at gmail.com
Wed Mar 19 21:15:23 CET 2008
I do a large number of tasks, including this one, with a shell "macro".
I find that it is faster by a huge amount than doing things in the macro
language. I assume this is because the macro language is interpreted
and, once you "pay" for spawning a shell, the shell filter is native
code. The only disadvantage is that it makes things less portable. In
this case all you need is "tr -d '\015'" so there's not much of a
portability issue.
More information about the Discuss
mailing list