Hi,
I did a search and replace across a set of files using find and sed using something like this:
find .-type f -print0 | xargs -0 sed -i 's/search_term/replace_term/g'
When comparing directory trees, BC didn't show the the files as being different from a copy I had made beforehand. Only when double-clicking the files, did the compare show them to be different and BC changed their color to red. Trying to force a refresh/reload didn't help.
In case it is relevant, the changes were such that the file lengths didn't change. e.g. a version 2.5.1 was changed to 2.6.1.
Cheers
I did a search and replace across a set of files using find and sed using something like this:
find .-type f -print0 | xargs -0 sed -i 's/search_term/replace_term/g'
When comparing directory trees, BC didn't show the the files as being different from a copy I had made beforehand. Only when double-clicking the files, did the compare show them to be different and BC changed their color to red. Trying to force a refresh/reload didn't help.
In case it is relevant, the changes were such that the file lengths didn't change. e.g. a version 2.5.1 was changed to 2.6.1.
Cheers
Comment