From: Ian Kelling Date: Tue, 16 Apr 2024 05:53:54 +0000 (-0400) Subject: update license notice X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;ds=inline;p=tee-unique update license notice --- 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