[ILUG] vi tip...
Niall O Broin
niall at linux.ie
Fri Apr 16 13:18:56 IST 2004
On Friday 16 April 2004, feargal at helgrim.com (Feargal Reilly) wrote:
>records from smtp.example.com to smtp.example.net, you can do something like
>
>vim `grep -l smtp.example.com *`
>
>Then record the actions, and also record the :w and :n to move to the next
file. Then you just have
>to type 1000 at a and enjoy.
I'm curious as to why you'd use a method which is slower and more error prone
than good old sed?
Niall
More information about the ILUG
mailing list