coreutils

General Software Utilities
git clone http://git.omkov.net/coreutils
Log | Tree | Refs | README | LICENCE | Download

AuthorJamozed <[email protected]>
Date2020-11-17 00:11:49
Commit5cf73ae96ed55ba41ea67f910afd2ec9367a23d6
Parent4e9bf25e5b4d8abeb8bf1aabb1209060a0363161

nice: Improve language used in documentation

Diffstat

M README.md | 2 +-
M man/nice.1 | 15 +++++++--------
M src/nice.c | 6 +++---

3 files changed, 11 insertions, 12 deletions

diff --git a/README.md b/README.md
index 2f5457e..25c0003 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ UNIX-like systems.
 | link             | Create a link to a file                  | POSIX    |
 | logname          | Return the user's login name             | POSIX    |
 | mkdir            | Make directories                         | POSIX    |
-| nice             | Execute with an altered nice value       | POSIX    |
+| nice             | Invoke with an altered nice value        | POSIX    |
 | orphan           | Execute commands as orphans              |          |
 | od\*             | Dump files in various formats            | POSIX    |
 | pwd              | Print working directory                  | POSIX    |
diff --git a/man/nice.1 b/man/nice.1
index 17ac50c..cbb7628 100644
--- a/man/nice.1
+++ b/man/nice.1
@@ -1,10 +1,10 @@
-.TH NICE 1 2020-06-27 "OMKOV coreutils" "General Commands Manual"
+.TH NICE 1 2020-11-17 "OMKOV coreutils" "General Commands Manual"
 .SH NAME
-nice \(em execute with an altered nice value
+nice \(em invoke with an altered nice value
 .SH SYNOPSYS
 \fBnice\fR [-n \fIincrement\fR] [\fIcommand\fR [\fIargument\fR...]]
 .SH DESCRIPTION
-Execute \fIcommand\fR with the specified nice \fIincrement\fR value. If no
+Invoke \fIcommand\fR with the specified nice \fIincrement\fR value. If no
 \fIincrement\fR is given, it will default to 10. If no \fIcommand\fR is given,
 the current nice value will be output.
 .SH OPTIONS
@@ -22,13 +22,13 @@ Display version message.
 The following operands are supported:
 .TP
 .I command
-A command to execute with the altered nice value.
+A command to invoke with the altered nice value.
 .TP
 .I argument
 An argument to pass to \fIcommand\fR.
 .SH EXIT STATUS
-Upon successful completion, the exit status of nice shall be the exit status of
-\fIcommand\fR. Otherwise, the following exit values will be returned:
+Upon successful completion, the exit status of \fInice\fR shall be the exit
+status of \fIcommand\fR. Otherwise, the following exit values will be returned:
 .TP
 1-125
 An error occurred.
@@ -39,8 +39,7 @@ An error occurred.
 \ \ 127
 \fIcommand\fR was not found.
 .SH STANDARDS
-The \fInice\fR utility is compliant with the IEEE Std 1003.2-1992 ("POSIX.2")
-specification.
+This utility is compliant with the IEEE Std 1003.2-2017 (POSIX) specification.
 .SH COPYRIGHT
 .nf
 Copyright (C) 2020, Jakob Wakeling
diff --git a/src/nice.c b/src/nice.c
index 7d00b2d..45394a6 100644
--- a/src/nice.c
+++ b/src/nice.c
@@ -1,4 +1,4 @@
-// nice.c, version 1.0.1
+// nice.c, version 1.0.2
 // OMKOV coreutils implementation of POSIX nice
 // Copyright (C) 2020, Jakob Wakeling
 // All rights reserved.
@@ -40,7 +40,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
 #include <stdbool.h>
 #include <stdio.h>
 
-#define VERSION "1.0.1"
+#define VERSION "1.0.2"
 
 static struct lop lops[] = {
 	{ "help",    ARG_NUL, 256 },
@@ -84,7 +84,7 @@ int main(int ac, char *av[]) { A0 = av[0];
 }
 
 static void hlp(void) {
-	puts("nice - execute with an altered nice value\n");
+	puts("nice - invoke with an altered nice value\n");
 	puts("usage: nice [-n increment] [command [argument...]]\n");
 	puts("options:");
 	puts("  -n increment  Nice increment value");