input.txt:
Files: src/macos/src/macos_main.cpp
Copyright: 2001, Eric Lavigne
License: curl
Files: docs/examples/rtsp.c
Copyright: 2011, Jim Hollinger
scancode -ce --json-pp - input.txt
Current results:
"copyrights": [
{
"value": "Copyright 2001, Eric Lavigne",
"start_line": 2,
"end_line": 3
},
{
"value": "Copyright 2011, Jim Hollinger",
"start_line": 6,
"end_line": 6
}
],
Expected results:
"copyrights": [
{
"value": "Copyright 2001, Eric Lavigne",
"start_line": 2,
"end_line": 2
},
{
"value": "Copyright 2011, Jim Hollinger",
"start_line": 6,
"end_line": 6
}
],
The first copyright is detected on line 2 to 3, while only present on line 2, where the second copyright is properly detected on line 6 only.
input.txt:
scancode -ce --json-pp - input.txtCurrent results:
Expected results:
The first copyright is detected on line 2 to 3, while only present on line 2, where the second copyright is properly detected on line 6 only.