Marcel Telka
2023-12-02 2bd0b89208c56ba68641bf5244722c91fc5da031
tools/license-detector: BSD-2-Clause should work with no empty lines between terms

1 files modified
2 ■■■■■ changed files
tools/licenses/license.BSD-2-Clause.filter 2 ●●●●● patch | view | raw | blame | history
tools/licenses/license.BSD-2-Clause.filter
@@ -18,6 +18,8 @@
sed \
    -e 's/`\{1,2\}/"/g' -e "s/'\{1,2\}/\"/g" \
    -e 's/[12]\./*/g' \
    -e 's/\([^ ]\) \*/\1\n*/g' \
| sed \
    -e 's/\* *//g' \
    -e 's/THIS SOFTWARE/THIS/I' \
    -e 's/^\(THIS IS PROVIDED BY\).*\("AS IS" AND ANY\).*\(OR IMPLIED WARRANTIES\)/\1 REPLACEABLE \2 REPLACEABLE \3/I' \