update license notice
[tee-unique] / README
diff --git a/README b/README
index 3e79fecfcf6e3ba1b81913916dd732cb7053c470..0e818f9f8cf089994cc3ab44b57da5f118485fac 100644 (file)
--- a/README
+++ b/README
@@ -1,14 +1,29 @@
-This program's main documentation is not here. It is in near the top of any of
-the bash script file(s) which sit next to this file. If there is an executable
-script in this repo, the documentation is also available by passing --help to
-the script/function.
+# 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.
 
-This program is also part of a collection of programs,
-https://gitlab.com/iankelling/bash-programs-by-ian, which are unrelated except
-a few small things like this file.
+# Copyright 2024 Ian Kelling
 
-For programs with 2 files named like foo and foo-function, they are the same but
-provide the flexibility of calling foo the script, or sourcing foo-function and
-calling foo the function.
+# 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
 
-Patches, bugs, opinions are welcome via gitlab or email Ian Kelling <ian@iankelling.org>
+#     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.
+
+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>.