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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!