Given several text (in fact, Perl source) files I want to find long fragments which are repeated in more than one file.

There preferably should be an option to ignore amount of white space and/or indenting.

It would be event better, if the software can find not only exact repetitions but just similar text fragments (with little differences).

Any Linux software for this?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.