licensecheck --version (return code: 0)
This is licensecheck, from the Debian devscripts package, version 2.16.2ubuntu3
Copyright (C) 2007, 2008 by Adam D. Barratt <adam@adam-barratt.org.uk>; based
on a script of the same name from the KDE SDK by <dfaure@kde.org>.
This program comes with ABSOLUTELY NO WARRANTY.
You are free to redistribute this code under the terms of the
GNU General Public License, version 2, or (at your option) any
later version.
licensecheck --help (return code: 0)
Usage: licensecheck [options] filename [filename ...]
Valid options are:
--help, -h Display this message
--version, -v Display version and copyright info
--no-conf, --noconf Don't read devscripts config files; must be
the first option given
--verbose Display the header of each file before its
license information
--skipped, -s Show skipped files
--lines, -l Specify how many lines of the file header
should be parsed for license information
(Default: 60)
--tail Specify how many bytes to parse at end of file
(Default: 5000)
--check, -c Specify a pattern indicating which files should
be checked
(Default: '(?^ux:
/[\w-]+$ # executable scripts or README like file
|
\.( # search for file suffix
c(c|pp|xx)? # c and c++
|h(h|pp|xx)? # header files for c and c++
|S
|css|less # HTML css and similar
|f(77|90)?
|go
|groovy
|lisp
|scala
|clj
|p(l|m)?6?|t|xs|pod6? # perl5 or perl6
|sh
|php
|py(|x)
|rb
|java
|js
|vala
|el
|sc(i|e)
|cs
|pas
|inc
|dtd|xsl
|mod
|m
|md|markdown
|tex
|mli?
|(c|l)?hs
)
$
)')
--machine, -m Display in a machine readable way (good for awk)
--recursive, -r Add the contents of directories recursively
--copyright Also display the file's copyright
--ignore, -i Specify that files / directories matching the
regular expression should be ignored when
checking files
(Default: '(?^ux:
# Ignore general backup files
~$|
# Ignore emacs recovery files
(?:^|/)\.#|
# Ignore vi swap files
(?:^|/)\..*\.swp$|
# Ignore baz-style junk files or directories
(?:^|/),,.*(?:$|/.*$)|
# File-names that should be ignored (never directories)
(?:^|/)(?:DEADJOE|\.cvsignore|\.arch-inventory|\.bzrignore|\.gitignore)$|
# File or directory names that should be ignored
(?:^|/)(?:CVS|RCS|\.pc|\.deps|\{arch\}|\.arch-ids|\.svn|\.hg|_darcs|\.git|
\.shelf|_MTN|\.bzr(?:\.backup|tags)?)(?:$|/.*$)
)')
Default settings modified by devscripts configuration files:
(none)