NINKA(1p)
β¨ NAME β¨
ninka β the source file license identification tool, bestie π it literally looks at your code and tells you which licenses are in there, no cap.
π¦ SYNOPSYS π¦
ninka [options] filename
π DESCRIPTION π
Okay so here's the tea: ninka scans a source file and returns the found licenses. That's it, that's the whole vibe. It's giving detective but for licenses πβ¨
π OPTIONS π
-iβ create intermediary files (for debugging) π like it leaves little notes behind so you can see what it was thinking-vβ verbose πΈ it will NOT stop yapping (affectionate) and honestly? we love that for it
π EXAMPLES π
Let me put you on, bestie, these are the moves:
ninka foo.c
Determine the licenses in file foo.c. iconic behavior fr fr π
ninka -i foo.c
Determine the licenses in file foo.c and create intermediary files (for debugging). It's the same slay but with receipts π
find * | xargs -n1 -I@ ninka '@'
Determine the licenses of files in a directory. Yes queen, do the WHOLE directory, main character energy only π¦
π AUTHOR π
ninka was written by Daniel M. German <dmg@uvic.ca> and Yuki Manabe <y-manabe@ist.osaka-u.ac.jp>. Shoutout to the founding mothers and fathers of this tool, they ate and left no crumbs π«Ά
β 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. Go read it, it's giving academic baddie πβ¨
π 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.
β οΈ bestie read that again β WITHOUT ANY WARRANTY, like literally none, so don't come crying to the authors if it does something goofy π
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
And that's the whole page, periodt π this was ninka from the User Contributed Perl Documentation, running on perl v5.32.0, dated 2021-01-08 β mwah, go identify some licenses, you've got this πβ¨
π¦ where this page comes from
- ubuntu jammy: ninka 1.3.2-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms