commit | author | age
|
e1d036
|
1 |
#! /usr/bin/sh |
MT |
2 |
# |
|
3 |
# |
|
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. |
|
8 |
# |
|
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. |
|
12 |
# |
|
13 |
|
|
14 |
# |
|
15 |
# Copyright 2022 Marcel Telka |
|
16 |
# |
|
17 |
|
099203
|
18 |
sed -n \ |
d91a5c
|
19 |
-e 's/`\{1,2\}/"/g' -e "s/'\{1,2\}/\"/g" \ |
099203
|
20 |
-e 's/[12]\./*/g' \ |
55f05d
|
21 |
-e 's/\* *//g' \ |
099203
|
22 |
-e 's/\(THIS SOFTWARE IS PROVIDED BY\).*\("AS IS" AND ANY\).*\(OR IMPLIED WARRANTIES\)/\1 REPLACEABLE \2 REPLACEABLE \3/' \ |
MT |
23 |
-e 's/\(IN NO EVENT SHALL\).*\(BE LIABLE\)/\1 REPLACEABLE \2/' \ |
fb247b
|
24 |
-e 's/^.*\(Redistribution and use\)/\1/' \ |
e1d036
|
25 |
-e '/^Redistribution and use/,/^THIS SOFTWARE/p' |