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.
COPYING/etc. files in the current directory by itself). For license files with custom text it even lets you do things like
licensee diff COPYING --license MITwhich makes it say
Similarity: 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.