diff --git a/docs/dj.1 b/docs/dj.1 index 7031ccf..4264638 100644 --- a/docs/dj.1 +++ b/docs/dj.1 @@ -1,5 +1,6 @@ .\" Copyright (c) 2024 DTB .\" Copyright (c) 2024 Emma Tebibyte +.\" Copyright (c) 2024 Taocana .\" .\" This work is licensed under CC BY-SA 4.0. To see a copy of this license, .\" visit . @@ -95,8 +96,8 @@ The standard input shall be used as an input if no inputs are specified or if one or more of the input files is \(lq-\(rq. .\" .SH STANDARD OUTPUT -The standard output shall be used as an output if no inputs are specified or if -one or more of the input files is \(lq-\(rq. +The standard output shall be used as an output if no outputs are specified or +if one or more of the output files is \(lq-\(rq. .\" .SH DIAGNOSTICS diff --git a/docs/mm.1 b/docs/mm.1 index 2ff9f44..ab87d05 100644 --- a/docs/mm.1 +++ b/docs/mm.1 @@ -1,4 +1,5 @@ .\" Copyright (c) 2024 DTB +.\" Copyright (c) 2024 Taocana .\" .\" This work is licensed under CC BY-SA 4.0. To see a copy of this license, .\" visit . @@ -27,10 +28,10 @@ Opens subsequent outputs for appending rather than updating. .IP \fB-e\fP Use the standard error as an output. .IP \fB-i\fP -Opens a path as an input. If one or more of the input files is \(lq-\(rq or if +Opens a file as an input. If one or more of the input files is \(lq-\(rq or if no inputs are specified, the standard input shall be used. .IP \fB-o\fP -Opens a path as an output. If one or more of the output files is \(lq-\(rq or if +Opens a file as an output. If one or more of the output files is \(lq-\(rq or if no outputs are specified, the standard output shall be used. .IP \fB-u\fP Ensures neither input or output will be buffered. diff --git a/docs/rpn.1 b/docs/rpn.1 index 8c8cd84..346869e 100644 --- a/docs/rpn.1 +++ b/docs/rpn.1 @@ -1,5 +1,6 @@ .\" Copyright (c) 2024 Emma Tebibyte .\" Copyright (c) 2024 DTB +.\" Copyright (c) 2024 Taocana .\" .\" This work is licensed under CC BY-SA 4.0. To see a copy of this license, .\" visit . @@ -22,9 +23,9 @@ The program evaluates reverse polish notation expressions read either from the standard input or parsed from provided arguments. See the STANDARD INPUT section. -Upon evaluation, the resulting number on the stack will be printed to the -standard output. Any further numbers specified will be placed at the end of the -stack. +Upon evaluation, the resulting number at the top of the stack will be printed +to the standard output. Any further numbers specified will be placed at the +bottom of the stack. For information on for reverse polish notation syntax, see .BR rpn (7). diff --git a/docs/scrut.1 b/docs/scrut.1 index 56383b8..f45af1b 100644 --- a/docs/scrut.1 +++ b/docs/scrut.1 @@ -1,5 +1,6 @@ .\" Copyright (c) 2024 DTB .\" Copyright (c) 2024 Emma Tebibyte +.\" Copyright (c) 2024 Taocana .\" .\" This work is licensed under CC BY-SA 4.0. To see a copy of this license, .\" visit . @@ -36,15 +37,15 @@ Requires the given files to exist, and is redundant to any other option. .IP \fB-f\fP Requires the given files to exist and be regular files. .IP \fB-g\fP -Requires the given files to exist and have their set group ID flags set. +Requires the given files to exist and have their setgid bits set. .IP \fB-k\fP -Requires the given files to exist and have their sticky bit set. +Requires the given files to exist and have their sticky bits set. .IP \fB-p\fP Requires the given files to exist and be named pipes. .IP \fB-r\fP Requires the given files to exist and be readable. .IP \fB-u\fP -Requires the given files to exist and have their set user ID flags set. +Requires the given files to exist and have their setuid bits set. .IP \fB-w\fP Requires the given files to exist and be writable. .IP \fB-x\fP diff --git a/src/intcmp.c b/src/intcmp.c index 408474b..e9cc144 100644 --- a/src/intcmp.c +++ b/src/intcmp.c @@ -52,7 +52,7 @@ int main(int argc, char *argv[]){ if(optind + 2 /* ref cmp */ > argc){ usage: fprintf(stderr, - "Usage: %s (-eghl) [integer] [integer...]\n", + "Usage: %s (-egl) [integer] [integer...]\n", argv[0] == NULL ? program_name : argv[0]); return EX_USAGE; }