vi lacks scriptability? Could have fooled me. :m,n! foo
or :%! foo I have a small collection of code editing scripts in awk I use regularly. The biggest limitation is remembering I wrote one already and don't need to write a new one. Lots of things just get done as an awk one liner. Now if awk weren't available, *that* would be a problem. Have Fun! Reg -------------------------------------------- On Thu, 1/1/15, Richard L. Hamilton <[email protected]> wrote: PS yes, vi is a PITA to learn, (I had to learn vi decades ago having previously used early incarnations of the much friendlier Rand Editor), but as a general purpose editor, once you _have_ learned it, you can work faster with it than with most others. Having used way too many different editors, the only things it lacks are truly scriptable extensability (use emacs if you can’t live without that) and “folding” (hiding uninteresting lines) like the mainframe ISPF editor (have yet to find something as handy for that on Unix, although there’s a free sort-of clone that may be tolerable (works on Linux, haven’t yet tried to compile for Solaris or OS X). _______________________________________________ openindiana-discuss mailing list [email protected] http://openindiana.org/mailman/listinfo/openindiana-discuss
