docs: fixes and clarification #128

Closed
Ghost wants to merge 3 commits from (deleted):main into main
4 changed files with 10 additions and 10 deletions
Showing only changes of commit 876363712c - Show all commits

View File

@ -95,8 +95,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

View File

@ -27,10 +27,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.

View File

@ -22,9 +22,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 on the top of the stack will be printed
Ghost marked this conversation as resolved Outdated
Outdated
Review

Would this work better as “at the top of the stack”?

Would this work better as “at the top of the stack”?
Outdated
Review

haha that's embarrassing, fixed in new commit.

haha that's embarrassing, fixed in new commit.
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).

View File

@ -36,15 +36,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 set-group-ID flags set.
Ghost marked this conversation as resolved Outdated
Outdated
Review

Are these changes the proper terminology? Wikipedia differs from this: https://en.wikipedia.org/wiki/Setuid

Are these changes the proper terminology? Wikipedia differs from this: https://en.wikipedia.org/wiki/Setuid
Outdated
Review

changed in new commit.

changed in new commit.
.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 flags set.
Ghost marked this conversation as resolved Outdated
Outdated
Review
Same for this: https://en.wikipedia.org/wiki/Sticky_bit
Outdated
Review

changed in new commit.

changed in new commit.
.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 set-user-ID flags set.
.IP \fB-w\fP
Requires the given files to exist and be writable.
.IP \fB-x\fP