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 |
|
2de8b5
|
18 |
sed \ |
d91a5c
|
19 |
-e 's/`\{1,2\}/"/g' -e "s/'\{1,2\}/\"/g" \ |
099203
|
20 |
-e 's/[12]\./*/g' \ |
6c0fc4
|
21 |
-e 's/\([^ ]\) \*/\1\ |
MT |
22 |
*/g' \ |
2bd0b8
|
23 |
| sed \ |
55f05d
|
24 |
-e 's/\* *//g' \ |
2de8b5
|
25 |
-e 's/THIS SOFTWARE/THIS/I' \ |
MT |
26 |
-e 's/^\(THIS IS PROVIDED BY\).*\("AS IS" AND ANY\).*\(OR IMPLIED WARRANTIES\)/\1 REPLACEABLE \2 REPLACEABLE \3/I' \ |
579445
|
27 |
-e 's/\(IN NO EVENT SHALL\).*\(BE LIABLE\)/\1 REPLACEABLE \2/I' \ |
MT |
28 |
-e 's/^.*\(Redistribution and use\)/\1/I' \ |
2de8b5
|
29 |
| sed -n \ |
MT |
30 |
-e '{ 1 { N |
|
31 |
N |
|
32 |
} |
|
33 |
N |
|
34 |
/^Redistribution and use.*\n.*\n.*\nTHIS IS PROVIDED BY/Ip |
|
35 |
D |
|
36 |
}' |