Marcel Telka
2023-10-25 af86d4a0cd33a5f8b296b71fcfa00a360a737add
tools/license-detector: add MIT-0

2 files added
37 ■■■■■ changed files
tools/licenses/license.MIT-0 16 ●●●●● patch | view | raw | blame | history
tools/licenses/license.MIT-0.filter 21 ●●●●● patch | view | raw | blame | history
tools/licenses/license.MIT-0
New file
@@ -0,0 +1,16 @@
MIT No Attribution
Copyright <YEAR> <COPYRIGHT HOLDER>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
tools/licenses/license.MIT-0.filter
New file
@@ -0,0 +1,21 @@
#! /usr/bin/sh
#
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2023 Marcel Telka
#
sed -E -n \
    -e 's/“/"/g' -e 's/”/"/g' -e 's/``/"/g' -e 's/'\'\''/"/g' \
    -e '/^Permission is hereby granted/,/^THE SOFTWARE/p' \
    -e '/^THE SOFTWARE/q'