From f3f79a892e2c2b64f0b5c1c0ca2863b0959f6d4d Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Tue, 16 Apr 2024 01:53:54 -0400 Subject: [PATCH] update license notice --- README | 21 +++++++++++++++++++++ teeu | 10 +++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/README b/README index 1714e79..0e818f9 100644 --- a/README +++ b/README @@ -1,3 +1,24 @@ +# I, Ian Kelling, follow the GNU license recommendations at +# https://www.gnu.org/licenses/license-recommendations.en.html. They +# recommend that small programs, < 300 lines, be licensed under the +# Apache License 2.0. This file contains or is part of one or more small +# programs. If a small program grows beyond 300 lines, I plan to switch +# its license to GPL. + +# Copyright 2024 Ian Kelling + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + The main documentation is availiable via --help and near the top of the bash script file in this directory. diff --git a/teeu b/teeu index 4d9c6a0..9daedb7 100755 --- a/teeu +++ b/teeu @@ -1,5 +1,12 @@ #!/bin/bash -# Copyright (C) 2024 Ian Kelling +# I, Ian Kelling, follow the GNU license recommendations at +# https://www.gnu.org/licenses/license-recommendations.en.html. They +# recommend that small programs, < 300 lines, be licensed under the +# Apache License 2.0. This file contains or is part of one or more small +# programs. If a small program grows beyond 300 lines, I plan to switch +# its license to GPL. + +# Copyright 2024 Ian Kelling # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,6 +20,7 @@ # See the License for the specific language governing permissions and # limitations under the License. + teeu() { local help="Usage: teeu [-h|--help] FILE [LINE] Append LINE if it's not already in FILE -- 2.30.2