[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Check license and copyright of files in entire tree



Mike Hommey <mh@glandium.org> writes:

> On Mon, Apr 21, 2008 at 11:27:18PM +1000, Ben Finney wrote:
> >     $ licensecheck --recursive --copyright .
> 
> Just don't forget that it will skip a lot of file types by default.

Thanks. From the program source, the default regex for files to check
is:

    my $default_check_regex = '\.(c(c|pp)?|h(h|pp)?|p(l|m)|sh|php|py|rb|java|el)$';

The '--check=foobarbazregex' option overrides this.

-- 
 \                            “Holy knit one purl two, Batman!” —Robin |
  `\                                                                   |
_o__)                                                                  |
Ben Finney


Reply to: