Is there some web page or Unix command line tool where I can paste the text of a license, and it would match it against a database of well-known open source licenses to tell me which one it is?
For example, the SPDX project already has an excellent database, I'm just looking for an easy front-end for this purpose.
diffwhich is clumsy for this task). I can't reliably tell the difference between the various permissive licenses (MIT, BSD, etc.) from memory without manually comparing to a template. When incorporating 3rd party code into my own project I like to compare the license texts word-for-word to make sure there are no surprises. So I can already do everything I need but it's slow and error-prone. – Lassi Jul 21 '19 at 10:06LICENSE/COPYING/etc. files in the current directory by itself). For license files with custom text it even lets you do things likelicensee diff COPYING --license MITwhich makes it saySimilarity: 95.29%and show the diff. This used to take minutes of tedious work, now it takes a few seconds and does a more reliable comparison than I could do myself. Perfect. – Lassi Jul 21 '19 at 10:51