I want to automate moving duplicate or similar C code into functions.
This must work under Linux.
https://github.com/hudayou/fib
Tool to find identical code blocks in a file or directory.