Wednesday, December 23, 2009

Re: Not necessarily a "question" - but need help nonetheless

Hi Chris!

On Mi, 23 Dez 2009, Chris Jones wrote:

> On Wed, Dec 23, 2009 at 12:55:03PM EST, Christian Brabandt wrote:
> This sounds like something where you don't need to interact with the
> process while it's running. Wouldn't it be a case where it's better to
> use the usual batch tools such as sed, awk, or even something like ed to
> achieve the desired result?

Sure, I could probably have used Perl for that, (s)ed/awk have
unfortunately not that powerful regular expressions. Secondly I do not
have any of these available on Windows and lastly I am faster doing the
manipulation in vim, than I am writing Perl programs. Plus, in Vim it is
really easy to try different ways out, undo, try again, etc. That really
is easier for me that running batch jobs and check the resulting file
afterwards.

> Still wouldn't address the issue of the initial loading of something as
> small as the average linux system's /etc taking about five seconds. Five
> seconds is not a lot as compared to what you are doing, but then my
> perception is that it's a trivial task that I perform hundreds of times
> daily and it response should be instantaneous.

That sounds seriously wrong. Is this also happening, when you start vim
using vim -u NONE -N <yourfile>?

regards,
Christian
--
:wq

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: