Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 319 Bytes

scripted-diff.md

File metadata and controls

16 lines (10 loc) · 319 Bytes

Scripted Diff

sed -i -e "s/something/different thing/" src/some_file.cpp
scripted-diff: use std::memset() over memset()

-BEGIN VERIFY SCRIPT-

sed -i -e "s/ memset(/ std::memset(/" $(git grep -l "memset(" -- ":(exclude)src/bench/nanobench.h" ":(exclude)src/secp256k1")

-END VERIFY SCRIPT-