summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel M German <dmg@uvic.ca>2015-09-04 14:52:02 -0700
committerDaniel M German <dmg@uvic.ca>2015-09-04 14:52:02 -0700
commit2e2d0f84cc9d2930d66f01a9de8ef078c1a67126 (patch)
tree50dd70d08a4324eaa61417031c90cc5568a246fa
parent85b06bd12db325e160d9a81409fc7b563f888f12 (diff)
downloadninka-2e2d0f84cc9d2930d66f01a9de8ef078c1a67126.tar.gz
formatted bottom or readme
-rw-r--r--README.org31
1 files changed, 16 insertions, 15 deletions
diff --git a/README.org b/README.org
index dbbe6f1..ec720c3 100644
--- a/README.org
+++ b/README.org
@@ -152,14 +152,13 @@ Ninka uses a pipe-model. Each stage of the pipe does something very specific:
The script ninka takes care of all these steps, and optionally creates
intermediary files, and writes to the stdout the licenses found.
-------
-
-How to read the output:
+* How to read the output:
Assume, for example, this output:
+#+BEGIN_EXAMPLE
eq.c;MITX11noNotice;1;2;2;6;0;Copyright,-1,-1,DualLicenseIntention,GPLorOpenBSDTypeVer2,BSDpre,BSDcondSource,BSDcondBinary
-
+#+END_EXAMPLE
So Ninka detects all the sentences, including the MIT variant, it
finds the GPL bsd intention. But the license is not really BSD.
@@ -167,23 +166,24 @@ finds the GPL bsd intention. But the license is not really BSD.
The disclaimers are not what you expect. Now, in all fairness, maybe
this is another license.
-
Let me translate the output for you:
-file: eq.c;
-License(s) found: MITX11noNotice
-
-
-;1;2;2;6;0;
-Found 1 license
-Composed of 2 lines (tokens)
-2 tokens were ignored
-6 tokens were not mached: Copyright,-1,-1,DualLicenseIntention,GPLorOpenBSDTypeVer2,BSDpre,BSDcondSource,BSDcondBinary (-1 indicates where a match happened)
-0 tokens were unknown
+#+BEGIN_EXAMPLE
+ file: eq.c;
+ License(s) found: MITX11noNotice
+ ;1;2;2;6;0;
+ Found 1 license
+ Composed of 2 lines (tokens)
+ 2 tokens were ignored
+ 6 tokens were not mached: Copyright,-1,-1,DualLicenseIntention,GPLorOpenBSDTypeVer2,BSDpre,BSDcondSource,BSDcondBinary (-1 indicates where a match happened)
+ 0 tokens were unknown
+#+END_EXAMPLE
Another example:
+
+#+BEGIN_EXAMPLE
nsAccessibilityUtils.cpp;MPLv1_1;1;1;3;7;2;UNKNOWN,MPL1_1_GPL2_LGPL2_1intentionVer0,1,-1,-1,MPLsee,Copyright,-1,Altern,UNKNOWN,MPLoptionNOTGPLVer0,MPLoptionIfNotDelete3licsVer0,licenseBlockEnd
License matched:MPLv1_1;
@@ -192,3 +192,4 @@ Composed of one token: 1;
3 token were ignored 3;
7 tokens were matched but not recognized as a license: UNKNOWN,MPL1_1_GPL2_LGPL2_1intentionVer0,1,-1,-1,MPLsee,Copyright,-1,Altern,UNKNOWN,MPLoptionNOTGPLVer0,MPLoptionIfNotDelete3licsVer0,licenseBlockEnd
2 of those tokens were unknown
+#+END_EXAMPLE