docs: fixes and clarification #128
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
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).
|
||||
|
@ -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
emma
commented
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
![]()
Ghost
commented
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
emma
commented
Same for this: https://en.wikipedia.org/wiki/Sticky_bit Same for this: https://en.wikipedia.org/wiki/Sticky_bit
![]()
Ghost
commented
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
|
||||
|
Loading…
Reference in New Issue
Block a user
Would this work better as “at the top of the stack”?
haha that's embarrassing, fixed in new commit.