Marcel Telka
2023-04-24 3fa4531640fcd6aafbd9be8b247ac2dd4dda0e19
tools/license-detector: add 0BSD

2 files added
33 ■■■■■ changed files
tools/licenses/license.0BSD 14 ●●●●● patch | view | raw | blame | history
tools/licenses/license.0BSD.filter 19 ●●●●● patch | view | raw | blame | history
tools/licenses/license.0BSD
New file
@@ -0,0 +1,14 @@
BSD Zero Clause License
Copyright (C) YEAR by AUTHOR EMAIL
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
tools/licenses/license.0BSD.filter
New file
@@ -0,0 +1,19 @@
#! /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 -n \
    -e '/^Permission to use, copy, modify,/,/^THE SOFTWARE IS PROVIDED/p'