Sunday, 5 January 2020

Text editor on Windows to delete large block of copyright text in multiple source files?

Optional Background Information:


[ The author of a Java open source project I am using has changed the copyright notice in every file in the project. As a result, I can no longer diff between the older version of the project and the newer version, since every file is marked as different because of the new copyright notice. In order to do a diff with this new version of the project, I first need to remove the copyright notice from every file in the new project and the old project and then perform a new baseline diff from which to move forward. ]


Q: Is there a text editor on Windows that would find and remove this block of text from all of the source code files in the project:


/*
* Copyright (C) 2010 Franklin Pierce
*
* This file is part of mexxaco.
*
* mexxaco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* mexxaco is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with mexxaco. If not, see .
*/

No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...