Mail Archives: djgpp/2010/04/24/03:45:22
"Rugxulo" <rugxulo AT gmail DOT com> wrote in message
news:4c64a5b1-bf8a-49e1-843e-9a0594856e82 AT c36g2000yqm DOT googlegroups DOT com...
>
> P.S. I love GNU sed, but in my experience it's pretty darn
> slow on big files.
>
I've not used it. I have need of VI, occasionally. I prefer DOS EDIT, but
it and other DOS editors seem unable to do two things that VI can do. VI,
via EX/ED commands, has a way to specify that you want something inserted at
the beginning and end of lines. Every now and then, the DOS clone of VI
that I use, is insufficient. It won't handle large files. AWK will handle
the larger files just fine. But, who wants to code up convoluted awk
scripts? Why learn awk when you already know equivalent EX/ED commands for
VI? Another solution, splitting and unsplitting the file prior to and after
processing is an "undesirable test of patience and will". So, I wrote
myself a small, personal utility, that's still in a very rough, in-progress
form, which converts some common EX/ED commands to their equivalent AWK
scripts. Very nice!!! Smooth... But, I still haven't tested some of the
conversions thoroughly, yet.
Rod Pemberton
- Raw text -