Suppose you have multiple files which has common lines of code or common matches of a regexp pattern. Is there an "emacs way" to comment/uncomment such specific common lines at once in all files?
I know how to do it with sed or awk, but maybe there is a clever way to do this type of job directly from emacs.
helm-ag
as described here