On Thu, 12 Apr 2018 23:26:53 +0200 Jonas Smedegaard <d...@jones.dk> wrote:
> It is (slower but) more reliable to use "--lines 0".

Indeed. I have a similar case with #1000179 where licensecheck does not get 
copyright assignment from a LICENSE file:

$ licensecheck --copyright LICENSE 
LICENSE: *No copyright* Apache License 2.0

But it gets the copyright with --lines option:

$ licensecheck --copyright LICENSE -l 0
LICENSE: Apache License 2.0
  [Copyright: patent, trademark, and / license to reproduce, prepare 
Derivative Works of, / License. Subject to the terms and conditions of / 2017 
Sourced Technologies S.L.]

Would it be possible to use --lines 0 with files containing a lot of capital 
letters (like LICENSE.* README*) and so on... These files tend to be relatively 
short compared to other source files.

HTH

Reply via email to