---
name: "ninka"
section: "1p"
platform: "linux"
package: "ninka"
version: "1.3.2-4"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/ninka"
---

# ninka(1p)

source file license identification tool

## NAME

ninka - source file license identification tool

## SYNOPSYS

**ninka** \[options\] *filename*

## DESCRIPTION

Scans a source file and returns the found licenses.

## OPTIONS

- **-i**

  create intermediary files (for debugging)

- **-v**

  verbose

## EXAMPLES

- **ninka** *foo.c*

  Determine the licenses in file *foo.c*.

- **ninka -i** *foo.c*

  Determine the licenses in file *foo.c* and create intermediary files (for debugging).

- find \* \| xargs -n1 -I@ **ninka** '@'

  Determine the licenses of files in a directory.

## AUTHOR

**ninka** was written by Daniel M. German \<dmg@uvic.ca\> and Yuki Manabe \<y-manabe@ist.osaka-u.ac.jp\>.

## SEE ALSO

Daniel M. German, Yuki Manabe and Katsuro Inoue. A sentence-matching method for automatic license identification of source code files. In 25nd IEEE/ACM International Conference on Automated Software Engineering (ASE 2010).

You can download it from http://turingmachine.org/~dmg/papers/dmg2010ninka.pdf.

## COPYRIGHT AND LICENSE

Copyright (C) 2009-2014  Yuki Manabe and Daniel M. German, 2015 René Scheibe

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program.  If not, see \<http://www.gnu.org/licenses/\>.
