docs: fixes and clarification #128

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

View File

@ -1,5 +1,6 @@
.\" Copyright (c) 2024 DTB <trinity@trinity.moe>
.\" Copyright (c) 2024 Emma Tebibyte <emma@tebibyte.media>
.\" Copyright (c) 2024 Taocana <taocana@cock.lu>
.\"
.\" This work is licensed under CC BY-SA 4.0. To see a copy of this license,
.\" visit <http://creativecommons.org/licenses/by-sa/4.0/>.

View File

@ -1,4 +1,5 @@
.\" Copyright (c) 2024 DTB <trinity@trinity.moe>
.\" Copyright (c) 2024 Taocana <taocana@cock.lu>
.\"
.\" This work is licensed under CC BY-SA 4.0. To see a copy of this license,
.\" visit <http://creativecommons.org/licenses/by-sa/4.0/>.

View File

@ -1,5 +1,6 @@
.\" Copyright (c) 2024 Emma Tebibyte <emma@tebibyte.media>
.\" Copyright (c) 2024 DTB <trinity@trinity.moe>
.\" Copyright (c) 2024 Taocana <taocana@cock.lu>
.\"
.\" This work is licensed under CC BY-SA 4.0. To see a copy of this license,
.\" visit <http://creativecommons.org/licenses/by-sa/4.0/>.
@ -22,7 +23,7 @@ The program evaluates reverse polish notation expressions read either from the
standard input or parsed from provided arguments. See the STANDARD INPUT
section.
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.
Upon evaluation, the resulting number on the top of the stack will be printed
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.

View File

@ -1,5 +1,6 @@
.\" Copyright (c) 2024 DTB <trinity@trinity.moe>
.\" Copyright (c) 2024 Emma Tebibyte <emma@tebibyte.media>
.\" Copyright (c) 2024 Taocana <taocana@cock.lu>
.\"
.\" This work is licensed under CC BY-SA 4.0. To see a copy of this license,
.\" visit <http://creativecommons.org/licenses/by-sa/4.0/>.
@ -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
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.
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
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.
Requires the given files to exist and have their sticky flags 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