Re: Coping with a name conflict

"Andrey G. Grozin" <[email protected]>
Newsgroups gmane.lisp.openmcl.devel
Message-ID <[email protected]>
On Mon, 21 Mar 2022, Denis Lorrain wrote:
> - The annoying point is that my dbg macro-function is everywhere in my code, sometimes commented out, but often not. I
> could change its name, but it would be quite tedious to edit all my source files, written over the last 15 or 20 years...
Why?

find . -name '*.lisp' | xargs sed -e 's/dbg/something/g' -i

Just a single line.

Andrey
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.