dtb trinity
trinity deleted branch manpg from bonsai/harakit 2024-02-03 21:35:39 -07:00
trinity commented on issue bonsai/harakit#44 2024-02-03 21:35:21 -07:00
scroll(1) – pager

I have a particularly bad one in my source tree. It was less useful once I'd figured out I could scroll my xterms but nowadays I just use…

trinity commented on issue bonsai/harakit#41 2024-02-03 21:25:49 -07:00
rtfm(1) - manual pages

Could # headers be specifically for title/section metadata?

For example, roff:

.TH  PAGE 1

and my proposed equivalent usage in doc:

# PAGE(1)

Or PAGE 1 or…

trinity commented on issue bonsai/harakit#43 2024-02-03 21:04:17 -07:00
format(1): formatting strings for ouput

I see your point and agree.

trinity commented on pull request bonsai/harakit#36 2024-02-02 21:00:08 -07:00
rpn(1)

n can only ever be Invalid.

trinity commented on pull request bonsai/harakit#36 2024-02-02 16:38:03 -07:00
rpn(1)

I would use ** for exponentiation as ^ is conventionally used for bitwise xor.

trinity commented on pull request bonsai/harakit#36 2024-02-02 16:35:13 -07:00
rpn(1)

whitespace-delimited

trinity commented on pull request bonsai/harakit#36 2024-02-02 16:33:43 -07:00
rpn(1)

In C - I can't speak as to how Rust does it - enums are basically #defines as they replace a given symbol with another symbol, though unlike #defines the symbol remains in the code rather than…

trinity opened issue bonsai/harakit#40 2024-02-02 07:55:34 -07:00
scrut(1) buffer overflow
trinity commented on issue bonsai/harakit#27 2024-02-02 07:39:01 -07:00
GNU yes(1) analogue

On second thought, I'm fully on board with dropping printf(1p) and using format(1). I wonder if the name could be better though - I still think "format" is vague.

I don't think out(1) is…

trinity commented on pull request bonsai/harakit#36 2024-02-02 07:17:36 -07:00
rpn(1)

It looks like dc(1) historically also had this issue. I'd really like to not have it though and I might try to fix this myself.

trinity commented on pull request bonsai/harakit#36 2024-02-02 07:15:44 -07:00
rpn(1)

"Rpn evaluates a given reverse polish notation expression according to the conventions defined in rpn(7), printing the last item on its stack on completion."

trinity commented on pull request bonsai/harakit#36 2024-02-02 07:15:44 -07:00
rpn(1)

"Otherwise, it reads a newline-delimited series of numbers and integers from standard input."

trinity commented on pull request bonsai/harakit#36 2024-02-02 07:15:44 -07:00
rpn(1)

I would classify this as a bug, not a caveat, and refrain from mentioning implementation details in the man page.

trinity commented on pull request bonsai/harakit#36 2024-02-02 07:15:44 -07:00
rpn(1)

I don't think this caveat is needed here, maybe there should be a float(7) that explains IEEE-754 and its caveats.

trinity commented on pull request bonsai/harakit#36 2024-02-02 07:15:44 -07:00
rpn(1)

This reads weirdly. I would say:

trinity commented on pull request bonsai/harakit#36 2024-02-02 07:15:44 -07:00
rpn(1)

This probably belongs in a qi(1) man page, not here.

trinity commented on pull request bonsai/harakit#36 2024-02-02 07:15:44 -07:00
rpn(1)

npc?

trinity commented on pull request bonsai/harakit#36 2024-02-02 07:15:44 -07:00
rpn(1)

Integers and operations can be mixed. I would classify an integer as an operation, too - the push operation.

trinity commented on pull request bonsai/harakit#36 2024-02-02 07:15:44 -07:00
rpn(1)

If this were C I would put the sentry value first so validity is just a measure of whether or not the enum is 0. I don't know if Rust works that way but it's a thought. It may also make more sense conceptually if Empty and Val are the zeroth and first enumerations respectively.