update license notice
[tee-unique] / README
diff --git a/README b/README
index a960550c97db9dacb19c2a9ad9d82387010871fd..0e818f9f8cf089994cc3ab44b57da5f118485fac 100644 (file)
--- a/README
+++ b/README
@@ -1,15 +1,29 @@
-The main documentation is availiable via --help and near the top of any bash
-script files which sit next to this file.
+# 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.
 
-Files ending in -function are for sourcing then calling as a function. Files
-without -function are exactly the same except they are for calling as a script.
+# Copyright 2024 Ian Kelling
 
-Patches and bugs are very welcome via gitlab.
+# 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
 
-Questions, feedback, etc are very welcome via email to Ian Kelling
-<ian@iankelling.org>. I will add any useful questions, answers, etc. to this
-file. If a mailing list / forum is ever called for, I will start one.
+#     http://www.apache.org/licenses/LICENSE-2.0
 
-This program is also part of a collection of programs,
-https://gitlab.com/iankelling/bash-programs-by-ian, which are unrelated except
-having the same author and being being bash programs.
+# 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.
+
+The script file can be stripped of the last line and used as a function
+instead of a script.
+
+Please email me if you have a patches, bugs, feedback, or republish this
+somewhere else: Ian Kelling <ian@iankelling.org>.