Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Copyright (c) 2007 Free Software Foundation, Inc. <https://fsf.org/>
./scancode --copyright --json-pp - ~/Downloads/LICENSE
{
"headers": [
{
"tool_name": "scancode-toolkit",
"tool_version": "v32.0.8",
"options": {
"input": [
"/home/sebastian/Downloads/LICENSE"
],
"--copyright": true,
"--json-pp": "-"
},
"notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.",
"start_timestamp": "2024-01-10T124136.364189",
"end_timestamp": "2024-01-10T124137.516281",
"output_format_version": "3.0.0",
"duration": 1.152099847793579,
"message": null,
"errors": [],
"warnings": [],
"extra_data": {
"system_environment": {
"operating_system": "linux",
"cpu_architecture": "64",
"platform": "Linux-6.6.9-200.fc39.x86_64-x86_64-with-glibc2.38",
"platform_version": "#1 SMP PREEMPT_DYNAMIC Mon Jan 1 20:05:54 UTC 2024",
"python_version": "3.11.7 (main, Dec 18 2023, 00:00:00) [GCC 13.2.1 20231205 (Red Hat 13.2.1-6)]"
},
"spdx_license_list_version": "3.21",
"files_count": 1
}
}
],
"files": [
{
"path": "LICENSE",
"type": "file",
"copyrights": [
{
"copyright": "Copyright (c) 2007 Free Software Foundation, Inc. <https://fsf.org/>",
"start_line": 4,
"end_line": 4
}
],
"holders": [
{
"holder": "Free Software Foundation, Inc.",
"start_line": 4,
"end_line": 4
}
],
"authors": [],
"scan_errors": []
}
]
}
Description
In a file that has
ScanCode reports
Note the
(C)vs(c)casing.How To Reproduce
Run
on https://github.com/grafana/grafana/blob/71b98163e52306c5da36b243bd74e74f634920a0/LICENSE
System configuration
Here's the full JSON for reference: