This is mostly a scripted update, it may not be perfect.
function replace() {
FROM=$1 TO=$2 git grep "$FROM" $REPO_PATH |cut -f 1 -d : | sort -u | \ while read file; do sed -i "s#$FROM#$TO#" $file ; done
}
replace '|\*===----------------------------------------------------------------------===\*|$' '===----------------------------------------------------------------------==='
replace '^/\* =' '=='
replace '^/\*=' '='
replace '^\\\*=' '='
replace '^|\*' ''
replace ' \*|$' ''
replace '=\*\\$' '='
replace '== \*/$' '==='
replace '==\*/$' '=='
replace '^/\*\*\(.*\)\*/$' '/\1'
replace '^/\*\(.*\)\*/$' '\1'
replace '============================================================================' '===----------------------------------------------------------------------===//'
Random consistency question:
Why
instead of the more typical
?
LGTM either way.