I have a bash project, which consists a dozen files. There are some copy paste between the files (and inside one files also).
So, is there a copy paste detector for bash / shell scripts or at least for plain text?
Copy paste detector, like this, just for shell script: http://pmd.sourceforge.net/pmd-5.1.0/cpd.html
Similar question for java: Do tools exist which automatically find copy-and-paste code?