Debian Codegraph @

project/scripts/replace_multilines/README

raw
1 Script to replace a block of text by another one in files.
2
3 Multilines text to search and replace is hosted in a text file (aka GPL2_1.txt)
4
5 Multilines text use to replace inline source is hosted in a text file (aka SDPX-GPL2.txt)
6
7 Copy this folder in root of source code hierarchy. Files will be scanned recursively from root dir.
8
9 Script is configured to search in .cpp and .h, this can be customized.
10
11 Look replace.sh bash script for details.
12
13 NOTE: while performing replace in files, check well in CLI if no error are generated by
14 python about wrong characters encoding. Fix source file accordingly.