On Sat, Sep 04, 2021 at 05:00:29PM +0100, ropers wrote:
> However, that's as inaccurate as, or potentially even more inaccurate
> than your version, at least as far as vim-ilarity is concerned.  My
> awk-ward incantation matches vim's :%s/abc//gn precisely.

Not sure if this is less "awk-ward":

:%!perl -0777 -ne 'print s/abc//g;'

and then undo the change to the buffer

- Kastus

Reply via email to