Blame


1 90081c80 2022-11-23 op # license
2 90081c80 2022-11-23 op
3 90081c80 2022-11-23 op Output the ISC license, suitable for being used to initialize source
4 90081c80 2022-11-23 op files.
5 90081c80 2022-11-23 op
6 90081c80 2022-11-23 op #!/bin/sh
7 90081c80 2022-11-23 op
8 90081c80 2022-11-23 op user="$GOT_AUTHOR" # XXX: find a fallback
9 90081c80 2022-11-23 op year="$(date +%Y)"
10 90081c80 2022-11-23 op
11 90081c80 2022-11-23 op cat <<EOF
12 90081c80 2022-11-23 op /*
13 90081c80 2022-11-23 op * Copyright (c) $year $user
14 90081c80 2022-11-23 op *
15 90081c80 2022-11-23 op * Permission to use, copy, modify, and distribute this software for any
16 90081c80 2022-11-23 op * purpose with or without fee is hereby granted, provided that the above
17 90081c80 2022-11-23 op * copyright notice and this permission notice appear in all copies.
18 90081c80 2022-11-23 op *
19 90081c80 2022-11-23 op * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
20 90081c80 2022-11-23 op * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
21 90081c80 2022-11-23 op * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
22 90081c80 2022-11-23 op * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
23 90081c80 2022-11-23 op * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
24 90081c80 2022-11-23 op * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
25 90081c80 2022-11-23 op * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
26 90081c80 2022-11-23 op */
27 90081c80 2022-11-23 op
28 90081c80 2022-11-23 op EOF