python/setuptools-rust: replace deprecated wheel.bdist_wheel
[oi-userland.git] / tools / licenses / license.MPL-2.0.filter
blob6c1222ab89ed6899747c5eeb5db9639c8c15fe80
1 #! /usr/bin/sh
4 # This file and its contents are supplied under the terms of the
5 # Common Development and Distribution License ("CDDL"), version 1.0.
6 # You may only use this file in accordance with the terms of version
7 # 1.0 of the CDDL.
9 # A full copy of the text of the CDDL should have accompanied this
10 # source. A copy of the CDDL is also available via the Internet at
11 # http://www.illumos.org/license/CDDL.
15 # Copyright 2022 Marcel Telka
18 sed -n \
19 -e 's/ \(\* \)\{1,\}/ /g' -e 's/^\* //' -e 's/ \*$//' \
20 -e 's/ -\{3,\} / /g' -e 's/ -\{3,\}$//' \
21 -e 's/ \*\{3,\} / /g' -e 's/^\*\{3,\} //' -e 's/ \*\{3,\}$//' -e '/^\*\{3,\}$/d' \
22 -e 's/^\([abc]\)\. /(\1) /Ig' \
23 -e '/Definitions$/I,/Exhibit B of this License must be attached\.$/Ip'