Author | Jamozed <[email protected]> |
Date | 2022-03-06 02:27:45 |
Commit | e2140ecfeb7ffdc243fa54c13bb7465376b4a8ac |
Parent | cdfecb871c1c82c801beaa0c278c38ab9e44d2df |
meta: Relicense to MIT
Diffstat
M | .gitignore | | | 1 | + |
M | LICENCE | | | 24 | ++++++++++-------------- |
M | README.md | | | 3 | +-- |
M | man/base64.1 | | | 5 | ++--- |
M | man/basename.1 | | | 5 | ++--- |
M | man/cat.1 | | | 5 | ++--- |
M | man/chmod.1 | | | 5 | ++--- |
M | man/cksum.1 | | | 5 | ++--- |
M | man/dirname.1 | | | 5 | ++--- |
M | man/echo.1 | | | 5 | ++--- |
M | man/env.1 | | | 5 | ++--- |
M | man/false.1 | | | 5 | ++--- |
M | man/head.1 | | | 5 | ++--- |
M | man/id.1 | | | 5 | ++--- |
M | man/link.1 | | | 5 | ++--- |
M | man/logname.1 | | | 5 | ++--- |
M | man/mkdir.1 | | | 5 | ++--- |
M | man/nice.1 | | | 5 | ++--- |
M | man/od.1 | | | 5 | ++--- |
M | man/orphan.1 | | | 5 | ++--- |
M | man/pwd.1 | | | 5 | ++--- |
M | man/rand.1 | | | 5 | ++--- |
M | man/realpath.1 | | | 5 | ++--- |
M | man/rmdir.1 | | | 5 | ++--- |
M | man/sleep.1 | | | 5 | ++--- |
M | man/sum.1 | | | 5 | ++--- |
M | man/sync.1 | | | 5 | ++--- |
M | man/tee.1 | | | 5 | ++--- |
M | man/time.1 | | | 5 | ++--- |
M | man/touch.1 | | | 5 | ++--- |
M | man/true.1 | | | 5 | ++--- |
M | man/tty.1 | | | 5 | ++--- |
M | man/uname.1 | | | 5 | ++--- |
M | man/unlink.1 | | | 5 | ++--- |
M | man/wc.1 | | | 5 | ++--- |
M | man/yes.1 | | | 5 | ++--- |
M | src/base64.c | | | 34 | ++-------------------------------- |
M | src/basename.c | | | 34 | ++-------------------------------- |
M | src/cat.c | | | 34 | ++-------------------------------- |
M | src/chmod.c | | | 34 | ++-------------------------------- |
M | src/cksum.c | | | 34 | ++-------------------------------- |
M | src/cp.c | | | 34 | ++-------------------------------- |
M | src/dirname.c | | | 34 | ++-------------------------------- |
M | src/echo.c | | | 29 | +---------------------------- |
M | src/env.c | | | 34 | ++-------------------------------- |
M | src/false.c | | | 16 | +--------------- |
M | src/head.c | | | 34 | ++-------------------------------- |
M | src/id.c | | | 34 | ++-------------------------------- |
M | src/link.c | | | 34 | ++-------------------------------- |
M | src/logname.c | | | 16 | +--------------- |
M | src/mkdir.c | | | 34 | ++-------------------------------- |
M | src/nice.c | | | 34 | ++-------------------------------- |
M | src/od.c | | | 34 | ++-------------------------------- |
M | src/orphan.c | | | 34 | ++-------------------------------- |
M | src/pwd.c | | | 34 | ++-------------------------------- |
M | src/rand.c | | | 34 | ++-------------------------------- |
M | src/realpath.c | | | 34 | ++-------------------------------- |
M | src/rmdir.c | | | 34 | ++-------------------------------- |
M | src/sleep.c | | | 34 | ++-------------------------------- |
M | src/sum.c | | | 34 | ++-------------------------------- |
M | src/sync.c | | | 16 | +--------------- |
M | src/tee.c | | | 34 | ++-------------------------------- |
M | src/time.c | | | 34 | ++-------------------------------- |
M | src/timeout.c | | | 32 | ++------------------------------ |
M | src/touch.c | | | 34 | ++-------------------------------- |
M | src/true.c | | | 16 | +--------------- |
M | src/tty.c | | | 16 | +--------------- |
M | src/uname.c | | | 34 | ++-------------------------------- |
M | src/unlink.c | | | 34 | ++-------------------------------- |
M | src/wc.c | | | 34 | ++-------------------------------- |
M | src/yes.c | | | 16 | +--------------- |
71 files changed, 141 insertions, 1127 deletions
diff --git a/.gitignore b/.gitignore index 5497595..f563e5a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /.cache/ +/.vscode/ /bin/ /build/ /compile_commands.json diff --git a/LICENCE b/LICENCE index 5e4b579..c6e3a71 100644 --- a/LICENCE +++ b/LICENCE @@ -1,24 +1,20 @@ -OMKOV Permissive Licence, version 1.0 +MIT Licence + +Copyright (C) 2020, Jakob Wakeling Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with +this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. +FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index c8a4ea2..f67042b 100644 --- a/README.md +++ b/README.md @@ -63,5 +63,4 @@ option. ## Meta Copyright (C) 2020, Jakob Wakeling -All rights reserved. -[OMKOV Permissive Licence](https://www.omkov.net/OLPE) +[MIT Licence](https://opensource.org/licenses/MIT) diff --git a/man/base64.1 b/man/base64.1 index 3fc133c..affa370 100644 --- a/man/base64.1 +++ b/man/base64.1 @@ -1,4 +1,4 @@ -.TH BASE64 1 2021-02-16 "OMKOV coreutils" "General Commands Manual" +.TH BASE64 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME base64 \(em base64 encode or decode data .SH SYNOPSYS @@ -33,6 +33,5 @@ An error occurred. .SH COPYRIGHT .nf Copyright (C) 2021, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/basename.1 b/man/basename.1 index c21305c..ecf59ca 100644 --- a/man/basename.1 +++ b/man/basename.1 @@ -1,4 +1,4 @@ -.TH BASENAME 1 2020-06-26 "OMKOV coreutils" "General Commands Manual" +.TH BASENAME 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME basename \(em return the non-directory portion of a path .SH SYNOPSYS @@ -35,6 +35,5 @@ The \fIbasename\fR utility is compliant with the IEEE Std 1003.2-1992 .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/cat.1 b/man/cat.1 index 1752622..3ac2dd1 100644 --- a/man/cat.1 +++ b/man/cat.1 @@ -1,4 +1,4 @@ -.TH CAT 1 2020-06-26 "OMKOV coreutils" "General Commands Manual" +.TH CAT 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME cat \(em concatenate and print files .SH SYNOPSYS @@ -36,6 +36,5 @@ specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/chmod.1 b/man/chmod.1 index fe36fc1..36da301 100644 --- a/man/chmod.1 +++ b/man/chmod.1 @@ -1,4 +1,4 @@ -.TH CHMOD 1 2020-11-17 "OMKOV coreutils" "General Commands Manual" +.TH CHMOD 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME chmod \(em change the file modes .SH SYNOPSYS @@ -38,6 +38,5 @@ This utility is compliant with the IEEE Std 1003.1-2017 (POSIX) specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/cksum.1 b/man/cksum.1 index c150cc1..96e9d2c 100644 --- a/man/cksum.1 +++ b/man/cksum.1 @@ -1,4 +1,4 @@ -.TH CKSUM 1 2020-08-14 "OMKOV coreutils" "General Commands Manual" +.TH CKSUM 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME cksum \(em write file checksums and sizes .SH SYNOPSYS @@ -27,6 +27,5 @@ An error occurred. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/dirname.1 b/man/dirname.1 index 6cc961d..ea77fe3 100644 --- a/man/dirname.1 +++ b/man/dirname.1 @@ -1,4 +1,4 @@ -.TH DIRNAME 1 2020-06-26 "OMKOV coreutils" "General Commands Manual" +.TH DIRNAME 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME dirname \(em return the directory portion of a path .SH SYNOPSYS @@ -32,6 +32,5 @@ specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/echo.1 b/man/echo.1 index df8cad1..14927c7 100644 --- a/man/echo.1 +++ b/man/echo.1 @@ -1,4 +1,4 @@ -.TH ECHO 1 2020-08-14 "OMKOV coreutils" "General Commands Manual" +.TH ECHO 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME echo \(em write arguments to standard output .SH SYNOPSYS @@ -46,6 +46,5 @@ Write an 8-bit value that is the zero to three digit octal number \fInum\fR. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Public Domain Licence (https://www.omkov.net/OLPD) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/env.1 b/man/env.1 index ad12b42..acb05eb 100644 --- a/man/env.1 +++ b/man/env.1 @@ -1,4 +1,4 @@ -.TH ENV 1 2020-06-27 "OMKOV coreutils" "General Commands Manual" +.TH ENV 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME env \(em execute with an altered enviroment .SH SYNOPSYS @@ -50,6 +50,5 @@ specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/false.1 b/man/false.1 index 9714d51..2f44d1e 100644 --- a/man/false.1 +++ b/man/false.1 @@ -1,4 +1,4 @@ -.TH FALSE 1 2020-08-14 "OMKOV coreutils" "General Commands Manual" +.TH FALSE 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME false \(em return false value .SH SYNOPSYS @@ -10,6 +10,5 @@ Return a non-zero exit code. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Public Domain Licence (https://www.omkov.net/OLPD) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/head.1 b/man/head.1 index f432772..7207b38 100644 --- a/man/head.1 +++ b/man/head.1 @@ -1,4 +1,4 @@ -.TH HEAD 1 2020-06-27 "OMKOV coreutils" "General Commands Manual" +.TH HEAD 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME head \(em output the first part of files .SH SYNOPSYS @@ -37,6 +37,5 @@ specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/id.1 b/man/id.1 index 0e25e1f..d189ba3 100644 --- a/man/id.1 +++ b/man/id.1 @@ -1,4 +1,4 @@ -.TH ID 1 2020-06-27 "OMKOV coreutils" "General Commands Manual" +.TH ID 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME id \(em return user identity .SH SYNOPSYS @@ -48,6 +48,5 @@ specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/link.1 b/man/link.1 index fc52358..3bd6c84 100644 --- a/man/link.1 +++ b/man/link.1 @@ -1,4 +1,4 @@ -.TH LINK 1 2020-06-26 "OMKOV coreutils" "General Commands Manual" +.TH LINK 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME link \(em create a link to a file .SH SYNOPSYS @@ -35,6 +35,5 @@ specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/logname.1 b/man/logname.1 index 4a227b4..bc7cbd8 100644 --- a/man/logname.1 +++ b/man/logname.1 @@ -1,4 +1,4 @@ -.TH LOGNAME 1 2020-08-14 "OMKOV coreutils" "General Commands Manual" +.TH LOGNAME 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME logname \(em return the user's login name .SH SYNOPSYS @@ -14,6 +14,5 @@ An error occurred. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Public Domain Licence (https://www.omkov.net/OLPD) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/mkdir.1 b/man/mkdir.1 index db0d8d2..74fe06e 100644 --- a/man/mkdir.1 +++ b/man/mkdir.1 @@ -1,4 +1,4 @@ -.TH MKDIR 1 2020-06-26 "OMKOV coreutils" "General Commands Manual" +.TH MKDIR 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME mkdir \(em make directories .SH SYNOPSYS @@ -39,6 +39,5 @@ specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/nice.1 b/man/nice.1 index cbb7628..fc82c59 100644 --- a/man/nice.1 +++ b/man/nice.1 @@ -1,4 +1,4 @@ -.TH NICE 1 2020-11-17 "OMKOV coreutils" "General Commands Manual" +.TH NICE 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME nice \(em invoke with an altered nice value .SH SYNOPSYS @@ -43,6 +43,5 @@ This utility is compliant with the IEEE Std 1003.2-2017 (POSIX) specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/od.1 b/man/od.1 index c3f5906..10e06fa 100644 --- a/man/od.1 +++ b/man/od.1 @@ -1,4 +1,4 @@ -.TH OD 1 2020-06-27 "OMKOV coreutils" "General Commands Manual" +.TH OD 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME od \(em dump files in various formats .SH SYNOPSYS @@ -96,6 +96,5 @@ specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/orphan.1 b/man/orphan.1 index 81a5328..578aab9 100644 --- a/man/orphan.1 +++ b/man/orphan.1 @@ -1,4 +1,4 @@ -.TH ORPHAN 1 2020-11-17 "OMKOV coreutils" "General Commands Manual" +.TH ORPHAN 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME orphan \(em invoke a command as an orphan .SH SYNOPSYS @@ -30,6 +30,5 @@ An error occurred. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/pwd.1 b/man/pwd.1 index a653bc1..79d50e1 100644 --- a/man/pwd.1 +++ b/man/pwd.1 @@ -1,4 +1,4 @@ -.TH PWD 1 2020-06-26 "OMKOV coreutils" "General Commands Manual" +.TH PWD 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME pwd \(em print working directory name .SH SYNOPSYS @@ -40,6 +40,5 @@ specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/rand.1 b/man/rand.1 index 79e2c1f..c56b0ea 100644 --- a/man/rand.1 +++ b/man/rand.1 @@ -1,4 +1,4 @@ -.TH RAND 1 2020-06-27 "OMKOV coreutils" "General Commands Manual" +.TH RAND 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME rand \(em generate random string .SH SYNOPSYS @@ -46,6 +46,5 @@ An error occurred. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/realpath.1 b/man/realpath.1 index c4e2c39..a56ea57 100644 --- a/man/realpath.1 +++ b/man/realpath.1 @@ -1,4 +1,4 @@ -.TH REALPATH 1 2020-06-27 "OMKOV coreutils" "General Commands Manual" +.TH REALPATH 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME realpath \(em resolve an absolute pathname .SH SYNOPSYS @@ -30,6 +30,5 @@ An error occurred. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/rmdir.1 b/man/rmdir.1 index 721ed87..b1954c1 100644 --- a/man/rmdir.1 +++ b/man/rmdir.1 @@ -1,4 +1,4 @@ -.TH RMDIR 1 2020-06-26 "OMKOV coreutils" "General Commands Manual" +.TH RMDIR 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME rmdir \(em remove directories .SH SYNOPSYS @@ -35,6 +35,5 @@ specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/sleep.1 b/man/sleep.1 index a8f4234..47309b1 100644 --- a/man/sleep.1 +++ b/man/sleep.1 @@ -1,4 +1,4 @@ -.TH SLEEP 1 2020-06-26 "OMKOV coreutils" "General Commands Manual" +.TH SLEEP 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME sleep \(em suspend execution for an interval .SH SYNOPSYS @@ -33,6 +33,5 @@ specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/sum.1 b/man/sum.1 index a9a817c..6cb88e0 100644 --- a/man/sum.1 +++ b/man/sum.1 @@ -1,4 +1,4 @@ -.TH SUM 1 2020-08-14 "OMKOV coreutils" "General Commands Manual" +.TH SUM 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME sum \(em write file checksums and block counts .SH SYNOPSYS @@ -30,6 +30,5 @@ An error occurred. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/sync.1 b/man/sync.1 index a98265d..8458706 100644 --- a/man/sync.1 +++ b/man/sync.1 @@ -1,4 +1,4 @@ -.TH SYNC 1 2020-06-26 "OMKOV coreutils" "General Commands Manual" +.TH SYNC 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME sync \(em synchronise file system caches to disk .SH SYNOPSYS @@ -8,6 +8,5 @@ Schedule all cached writes to be written to disk. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Public Domain Licence (https://www.omkov.net/OLPD) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/tee.1 b/man/tee.1 index a27bd34..48a9982 100644 --- a/man/tee.1 +++ b/man/tee.1 @@ -1,4 +1,4 @@ -.TH TEE 1 2020-06-26 "OMKOV coreutils" "General Commands Manual" +.TH TEE 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME tee \(em duplicate standard input .SH SYNOPSYS @@ -38,6 +38,5 @@ specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/time.1 b/man/time.1 index ea3330b..6a7b7a9 100644 --- a/man/time.1 +++ b/man/time.1 @@ -1,4 +1,4 @@ -.TH TIME 1 2020-11-17 "OMKOV coreutils" "General Commands Manual" +.TH TIME 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME time \(em time a simple command .SH SYNOPSYS @@ -41,6 +41,5 @@ This utility is compliant with the IEEE Std 1003.1-2017 (POSIX) specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/touch.1 b/man/touch.1 index 3d9f16b..653b56b 100644 --- a/man/touch.1 +++ b/man/touch.1 @@ -1,4 +1,4 @@ -.TH TOUCH 1 2020-06-27 "OMKOV coreutils" "General Commands Manual" +.TH TOUCH 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME touch \(em change file access and modify times .SH SYNOPSYS @@ -50,6 +50,5 @@ specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/true.1 b/man/true.1 index 00bd441..ceb8006 100644 --- a/man/true.1 +++ b/man/true.1 @@ -1,4 +1,4 @@ -.TH TRUE 1 2020-08-14 "OMKOV coreutils" "General Commands Manual" +.TH TRUE 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME true \(em return true value .SH SYNOPSYS @@ -10,6 +10,5 @@ Return a zero exit code. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Public Domain Licence (https://www.omkov.net/OLPD) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/tty.1 b/man/tty.1 index 44c6e61..8fc01bb 100644 --- a/man/tty.1 +++ b/man/tty.1 @@ -1,4 +1,4 @@ -.TH TTY 1 2020-08-14 "OMKOV coreutils" "General Commands Manual" +.TH TTY 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME tty \(em return user's terminal name .SH SYNOPSYS @@ -15,6 +15,5 @@ Standard input is not a terminal. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Public Domain Licence (https://www.omkov.net/OLPD) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/uname.1 b/man/uname.1 index 181226a..a13034a 100644 --- a/man/uname.1 +++ b/man/uname.1 @@ -1,4 +1,4 @@ -.TH UNAME 1 2020-06-27 "OMKOV coreutils" "General Commands Manual" +.TH UNAME 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME uname \(em return system name .SH SYNOPSYS @@ -45,6 +45,5 @@ specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/unlink.1 b/man/unlink.1 index 5fa8c37..d9c10a3 100644 --- a/man/unlink.1 +++ b/man/unlink.1 @@ -1,4 +1,4 @@ -.TH UNLINK 1 2020-06-26 "OMKOV coreutils" "General Commands Manual" +.TH UNLINK 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME unlink \(em remove a file using the unlink function .SH SYNOPSYS @@ -32,6 +32,5 @@ specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/wc.1 b/man/wc.1 index 699c8e7..0cdbabd 100644 --- a/man/wc.1 +++ b/man/wc.1 @@ -1,4 +1,4 @@ -.TH WC 1 2021-01-08 "OMKOV coreutils" "General Commands Manual" +.TH WC 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME wc \(em word, line, and byte or character count .SH SYNOPSYS @@ -36,6 +36,5 @@ An error occurred. .SH COPYRIGHT .nf Copyright (C) 2021, Jakob Wakeling -All rights reserved. -OMKOV Permissive Licence (https://www.omkov.net/OLPE) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/man/yes.1 b/man/yes.1 index 0472021..d2934a6 100644 --- a/man/yes.1 +++ b/man/yes.1 @@ -1,4 +1,4 @@ -.TH YES 1 2020-08-14 "OMKOV coreutils" "General Commands Manual" +.TH YES 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME yes \(em output a string repeatedly .SH SYNOPSYS @@ -12,6 +12,5 @@ A string to be written to standard output. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling -All rights reserved. -OMKOV Public Domain Licence (https://www.omkov.net/OLPD) +MIT Licence (https://opensource.org/licenses/MIT) .fi diff --git a/src/base64.c b/src/base64.c index 7950d89..e84a4fb 100644 --- a/src/base64.c +++ b/src/base64.c @@ -1,34 +1,7 @@ // base64.c, version 1.0.1 // OMKOV coreutils base64 // Copyright (C) 2021, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence /* TODO Improve or replace fgetb64. @@ -138,14 +111,11 @@ static void hlp(void) { puts(" -d Decode data"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } /* Print version information */ static void ver(void) { puts("OMKOV coreutils base64, version " VERSION); puts("Copyright (C) 2021, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/basename.c b/src/basename.c index 68112ac..f6b6903 100644 --- a/src/basename.c +++ b/src/basename.c @@ -1,34 +1,7 @@ // basename.c, version 1.0.1 // OMKOV coreutils implementation of POSIX basename // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -91,14 +64,11 @@ static void hlp(void) { puts("options:"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } /* Print version information */ static void ver(void) { puts("OMKOV coreutils basename, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/cat.c b/src/cat.c index feec6d3..085018c 100644 --- a/src/cat.c +++ b/src/cat.c @@ -1,34 +1,7 @@ // cat.c, version 1.0.5 // OMKOV coreutils implementation of POSIX cat // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -94,14 +67,11 @@ static void hlp(void) { puts(" -u Disable output buffering (ignored)"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } /* Print version information */ static void ver(void) { puts("OMKOV coreutils cat, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/chmod.c b/src/chmod.c index 459eefc..837e522 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -1,34 +1,7 @@ // chmod.c, version 1.0.2 // OMKOV coreutils implementation of POSIX chmod // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence /* TODO Don't recursively change symlink permissions @@ -158,14 +131,11 @@ static void hlp(void) { puts(" -R Recursively change file mode bits"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } /* Print version information */ static void ver(void) { puts("OMKOV coreutils chmod, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/cksum.c b/src/cksum.c index 4e39a38..5bad9bb 100644 --- a/src/cksum.c +++ b/src/cksum.c @@ -1,34 +1,7 @@ // cksum.c, version 1.0.4 // OMKOV coreutils implementation of POSIX cksum // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -99,15 +72,12 @@ static void hlp(void) { puts("options:"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV coreutils cksum, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } static const uint32_t CRC[] = { diff --git a/src/cp.c b/src/cp.c index 734e9bc..3d39974 100644 --- a/src/cp.c +++ b/src/cp.c @@ -1,34 +1,7 @@ // cp.c, version 0.0.2 // OMKOV coreutils implementation of POSIX cp // Copyright (C) 2021, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -129,14 +102,11 @@ static void hlp(void) { puts(" -R UNIMPLEMENTED"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } /* Print version information */ static void ver(void) { puts("OMKOV coreutils cp, version " VERSION); puts("Copyright (C) 2021, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/dirname.c b/src/dirname.c index d0707d7..9893461 100644 --- a/src/dirname.c +++ b/src/dirname.c @@ -1,34 +1,7 @@ // dirname.c, version 1.0.1 // OMKOV coreutils implementation of POSIX dirname // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -78,13 +51,10 @@ static void hlp(void) { puts("options:"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV coreutils dirname, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/echo.c b/src/echo.c index 1d1caf7..a86c582 100644 --- a/src/echo.c +++ b/src/echo.c @@ -1,34 +1,7 @@ // echo.c, version 1.1.0 // OMKOV coreutils implementation of POSIX echo // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include <stdio.h> #include <stdlib.h> diff --git a/src/env.c b/src/env.c index 08769f4..d6bab42 100644 --- a/src/env.c +++ b/src/env.c @@ -1,34 +1,7 @@ // env.c, version 1.0.2 // OMKOV coreutils implementation of POSIX env // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -83,13 +56,10 @@ static void hlp(void) { puts(" -i Ignore inherited enviroment"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV coreutils env, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/false.c b/src/false.c index 6a17bc8..1f414f4 100644 --- a/src/false.c +++ b/src/false.c @@ -1,20 +1,6 @@ // false.c, version 1.0.0 // OMKOV coreutils implementation of POSIX false // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Public Domain Licence, version 1.0 - -Permission is hereby granted to deal with this software and its associated -documentation files without restriction. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence int main(void) { return 1; } diff --git a/src/head.c b/src/head.c index 216cb7d..f7977d7 100644 --- a/src/head.c +++ b/src/head.c @@ -1,34 +1,7 @@ // head.c, version 1.0.3 // OMKOV coreutils implementation of POSIX head // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -114,13 +87,10 @@ static void hlp(void) { puts(" -n number Number of lines to output for each file"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV coreutils head, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/id.c b/src/id.c index 98a5a03..172a5ca 100644 --- a/src/id.c +++ b/src/id.c @@ -1,34 +1,7 @@ // id.c, version 0.1.1 // OMKOV coreutils implementation of POSIX id // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence /* TODO Fix memory leak when listing supplementary groups (may be unfixable) @@ -179,13 +152,10 @@ static void hlp(void) { puts(" -u Output only the effective user ID"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV coreutils id, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/link.c b/src/link.c index e0055bb..60131a9 100644 --- a/src/link.c +++ b/src/link.c @@ -1,34 +1,7 @@ // link.c, version 1.0.1 // OMKOV coreutils implementation of POSIX link // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -69,13 +42,10 @@ static void hlp(void) { puts("options:"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV coreutils link, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/logname.c b/src/logname.c index 9f7a17a..54f5e1b 100644 --- a/src/logname.c +++ b/src/logname.c @@ -1,21 +1,7 @@ // logname.c, version 1.0.1 // OMKOV coreutils implementation of POSIX logname // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Public Domain Licence, version 1.0 - -Permission is hereby granted to deal with this software and its associated -documentation files without restriction. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" diff --git a/src/mkdir.c b/src/mkdir.c index 0505a70..dd52a22 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -1,34 +1,7 @@ // mkdir.c, version 1.0.4 // OMKOV coreutils implementation of POSIX mkdir // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence /* TODO Cleanup p flag handling @@ -141,14 +114,11 @@ static void hlp(void) { puts(" -m mode Set the file mode of the created directory"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } /* Print version information */ static void ver(void) { puts("OMKOV coreutils mkdir, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/nice.c b/src/nice.c index 89584d7..e50cbf7 100644 --- a/src/nice.c +++ b/src/nice.c @@ -1,34 +1,7 @@ // nice.c, version 1.0.2 // OMKOV coreutils implementation of POSIX nice // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -89,14 +62,11 @@ static void hlp(void) { puts(" -n increment Nice increment value"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } /* Print version information */ static void ver(void) { puts("OMKOV coreutils nice, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/od.c b/src/od.c index d879a43..bd35212 100644 --- a/src/od.c +++ b/src/od.c @@ -1,34 +1,7 @@ // od.c, version 0.8.1 // OMKOV coreutils implementation of POSIX od // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence /* TODO Improve error handling @@ -383,13 +356,10 @@ static void hlp(void) { puts(" -x Interpret words in hexadecimal (-tx2)"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV coreutils od, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/orphan.c b/src/orphan.c index 0f44110..43b0f58 100644 --- a/src/orphan.c +++ b/src/orphan.c @@ -1,34 +1,7 @@ // orphan.c, version 1.0.1 // OMKOV coreutils orphan // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -76,13 +49,10 @@ static void hlp(void) { puts("options:"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV cryptutils orphan, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/pwd.c b/src/pwd.c index 9c489de..5d93693 100644 --- a/src/pwd.c +++ b/src/pwd.c @@ -1,34 +1,7 @@ // pwd.c, version 1.0.1 // OMKOV coreutils implementation of POSIX pwd // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -79,13 +52,10 @@ static void hlp(void) { puts(" -P Display the physical current working directory"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV coreutils pwd, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/rand.c b/src/rand.c index 0d04cb8..1dd019e 100644 --- a/src/rand.c +++ b/src/rand.c @@ -1,34 +1,7 @@ // rand.c, version 1.0.1 // OMKOV coreutils rand // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -124,13 +97,10 @@ static void hlp(void) { puts(" -s Enable symbols '!@#$%^&*' in the string output"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV coreutils rand, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/realpath.c b/src/realpath.c index ca6034c..86d8f1d 100644 --- a/src/realpath.c +++ b/src/realpath.c @@ -1,34 +1,7 @@ // realpath.c, version 1.0.1 // OMKOV coreutils realpath // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -83,13 +56,10 @@ static void hlp(void) { puts("options:"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver() { puts("OMKOV coreutils realpath, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/rmdir.c b/src/rmdir.c index 4cee96e..3d2aea2 100644 --- a/src/rmdir.c +++ b/src/rmdir.c @@ -1,34 +1,7 @@ // rmdir.c, version 1.0.1 // OMKOV coreutils implementation of POSIX rmdir // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -84,13 +57,10 @@ static void hlp(void) { puts(" -p Remove all parent directories in a path"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV coreutils rmdir, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/sleep.c b/src/sleep.c index ad64da4..3e3d3b0 100644 --- a/src/sleep.c +++ b/src/sleep.c @@ -1,34 +1,7 @@ // sleep.c, version 1.0.2 // OMKOV coreutils implementation of POSIX sleep // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -77,13 +50,10 @@ static void hlp(void) { puts("options:"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV coreutils sleep, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/sum.c b/src/sum.c index a2dfa88..48943f2 100644 --- a/src/sum.c +++ b/src/sum.c @@ -1,34 +1,7 @@ // sum.c, version 1.0.1 // OMKOV coreutils sum // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -123,13 +96,10 @@ static void hlp(void) { puts(" -s Use System V algorithm and 512 byte blocks"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV coreutils sum, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/sync.c b/src/sync.c index 10cee52..02c94ed 100644 --- a/src/sync.c +++ b/src/sync.c @@ -1,21 +1,7 @@ // sync.c, version 1.0.0 // OMKOV coreutils implementation of sync // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Public Domain Licence, version 1.0 - -Permission is hereby granted to deal with this software and its associated -documentation files without restriction. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include <unistd.h> diff --git a/src/tee.c b/src/tee.c index bd40bd0..ec7c560 100644 --- a/src/tee.c +++ b/src/tee.c @@ -1,34 +1,7 @@ // tee.c, version 1.0.3 // OMKOV coreutils implementation of POSIX tee // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -92,13 +65,10 @@ static void hlp(void) { puts(" -i Ignore interrupt signals"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV coreutils tee, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/time.c b/src/time.c index bb21ff5..402e47c 100644 --- a/src/time.c +++ b/src/time.c @@ -1,34 +1,7 @@ // time.c, version 1.0.1 // OMKOV coreutils implementation of POSIX time // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -103,13 +76,10 @@ static void hlp(void) { puts(" -p Use portable format"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV coreutils time, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/timeout.c b/src/timeout.c index 3ab1a00..a0afcec 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -1,37 +1,10 @@ // timeout.c // OMKOV coreutils timeout // Copyright (C) 2022, Jakob Wakeling -// All rights reserved. +// MIT Licence #define VERSION "0.1.0" -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ - #include "util/error.h" #include "util/optget.h" #include "util/util.h" @@ -252,6 +225,5 @@ static void hlp(void) { static void ver(void) { puts("OMKOV cryptutils timeout, version " VERSION); puts("Copyright (C) 2022, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/touch.c b/src/touch.c index 18aeba7..2b9c394 100644 --- a/src/touch.c +++ b/src/touch.c @@ -1,34 +1,7 @@ // touch.c, version 1.0.2 // OMKOV coreutils implementation of POSIX touch // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence /* TODO Implement [.frac] support for -d option. @@ -162,13 +135,10 @@ static void hlp(void) { puts(" -t time Use [[CC]YY]MMDDhhmm[.SS]"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV coreutils touch, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/true.c b/src/true.c index c2dec42..4a0e9f7 100644 --- a/src/true.c +++ b/src/true.c @@ -1,20 +1,6 @@ // true.c, version 1.0.0 // OMKOV coreutils implementation of POSIX false // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Public Domain Licence, version 1.0 - -Permission is hereby granted to deal with this software and its associated -documentation files without restriction. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence int main(void) { return 0; } diff --git a/src/tty.c b/src/tty.c index 98a735f..2d61aad 100644 --- a/src/tty.c +++ b/src/tty.c @@ -1,21 +1,7 @@ // tty.c, version 1.1.0 // OMKOV coreutils implementation of POSIX tty // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Public Domain Licence, version 1.0 - -Permission is hereby granted to deal with this software and its associated -documentation files without restriction. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include <unistd.h> diff --git a/src/uname.c b/src/uname.c index 5251ae8..9c245ae 100644 --- a/src/uname.c +++ b/src/uname.c @@ -1,34 +1,7 @@ // uname.c, version 1.0.1 // OMKOV coreutils implementation of POSIX uname // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/optget.h" @@ -98,13 +71,10 @@ static void hlp(void) { puts(" -v Print the current version of the OS"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } static void ver(void) { puts("OMKOV coreutils uname, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/unlink.c b/src/unlink.c index 01a6d33..a48c95b 100644 --- a/src/unlink.c +++ b/src/unlink.c @@ -1,34 +1,7 @@ // unlink.c, version 1.0.1 // OMKOV coreutils implementation of POSIX unlink // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include "util/error.h" #include "util/optget.h" @@ -70,14 +43,11 @@ static void hlp(void) { puts("options:"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } /* Print version information */ static void ver(void) { puts("OMKOV coreutils unlink, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/wc.c b/src/wc.c index 4726a4b..d851528 100644 --- a/src/wc.c +++ b/src/wc.c @@ -1,34 +1,7 @@ // wc.c, version 0.2.0 // OMKOV coreutils implementation of POSIX wc // Copyright (C) 2021, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Permissive Licence, version 1.0 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimers. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimers in the documentation and/or - other materials provided with the distribution. -* Neither the names of the copyright holders, nor the names of its contributors - may be used to endorse or promote products derived from this Software without - specific prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence /* FIXME See line 112. @@ -152,14 +125,11 @@ static void hlp(void) { puts(" -w Print the number of words in the file"); puts(" --help Display help information"); puts(" --version Display version information"); - return; } /* Print version information */ static void ver(void) { puts("OMKOV coreutils wc, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); - puts("All rights reserved."); - puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)"); - return; + puts("MIT Licence (https://opensource.org/licenses/MIT)"); } diff --git a/src/yes.c b/src/yes.c index 7aba4fa..1e72c92 100644 --- a/src/yes.c +++ b/src/yes.c @@ -1,21 +1,7 @@ // yes.c, version 1.0.1 // OMKOV coreutils implementation of yes // Copyright (C) 2020, Jakob Wakeling -// All rights reserved. - -/* -OMKOV Public Domain Licence, version 1.0 - -Permission is hereby granted to deal with this software and its associated -documentation files without restriction. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT -HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. -*/ +// MIT Licence #include <stdio.h>