Sunday, April 13, 2014

Select entire line based on tag, then export only those lines of text

No-one has spoken up to state the obvious, and the OP did say "in vim", but this task is obviously better done with grep, or a grep-like tool. I'm guessing the OP is on Windows, and if so, IIRC there's a "findstr" command available. Click Start->Run and enter "cmd", then "help findstr" to see how to use it.

(Apologies if I've misunderstood and have been too simplistic.)

Regards, John Little

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment