dtb trinity
trinity commented on issue bonsai/harakit#16 2023-12-28 16:18:20 -07:00
Versioning

There are currently seven utilities in the tree. Following my previous decimal scheme, it could be something like

  • 0.7.0-rel
  • 0.7.1-20231228 (a nightly before 0.7.1)
  • 0.7.1-rel

But I…

trinity commented on issue bonsai/harakit#17 2023-12-28 12:12:39 -07:00
simexec(1)

bonsai/bonuspack would be fun. Or bonsai/leaves maybe.

trinity commented on issue bonsai/harakit#8 2023-12-27 09:46:29 -07:00
qi(1): The qi shell

i would prefer not to see scoping in the shell.

This is probably for the best. I mention it because this is how C functions with statement blocks.

as for the way conditionals work, what…

trinity opened issue bonsai/harakit#17 2023-12-27 09:09:20 -07:00
simexec(1)
trinity commented on issue bonsai/harakit#16 2023-12-26 17:34:41 -07:00
Versioning

I mean the nightly not as a binary release but as a tarball of the current repository tree (more like a git branch/tag/whatever). So you can `git clone $bonsai_coreutils; cd coreutils; git…

trinity commented on issue bonsai/harakit#15 2023-12-26 16:27:39 -07:00
dj(1) - disk jockey

Requiring an input argument even if standard input would favor the former scenario ergonomically (dj in versus dj - out).

please rephrase this, i have no idea what this is…

trinity commented on issue bonsai/harakit#16 2023-12-26 13:57:31 -07:00
Versioning

I lean towards releasing the nightly at the end of each month as version YYYYMM, e.g. the first release would be 202312. That way we never have to think about it.

Otherwise maybe release.major.m…

trinity commented on issue bonsai/harakit#12 2023-12-26 13:52:55 -07:00
Binaries have preset names when argv[0] is an empty string

Tagged because you might have something to add, I think we've probably discussed argc==0 before.

trinity commented on issue bonsai/harakit#12 2023-12-26 13:52:05 -07:00
Binaries have preset names when argv[0] is an empty string

Hacks can be dangerous. [Polkit famously had a root escalation vulnerability around assuming argc > 0](https://blog.qualys.com/vulnerabilities-threat-research/2022/01/25/pwnkit-local-privilege-es

trinity commented on issue bonsai/harakit#15 2023-12-26 13:40:23 -07:00
dj(1) - disk jockey

The amount of scenarios where one would want an input file and standard output, and the amount where one would want standard input and an output file, seem to be roughly equal to me. Requiring an…

trinity opened issue bonsai/harakit#15 2023-12-26 09:53:58 -07:00
dj(1) - disk jockey
trinity commented on issue bonsai/harakit#14 2023-12-26 09:04:17 -07:00
fis(1) – field isolator

The POSIX man page for cut(1) looks complex but not terrible to implement as-is.

trinity opened issue bonsai/harakit#14 2023-12-26 09:00:18 -07:00
cut(1)
trinity opened issue bonsai/harakit#13 2023-12-26 08:58:12 -07:00
C Style
trinity commented on issue bonsai/harakit#8 2023-12-25 23:13:18 -07:00
qi(1): The qi shell

I think && and `

trinity commented on issue bonsai/harakit#8 2023-12-25 23:09:48 -07:00
qi(1): The qi shell

Curly braces could open a block the same way they do in C, where variables created inside the block are local to it and can't escape but variables from outside the block can be modified as usual,…

trinity commented on issue bonsai/harakit#12 2023-12-25 23:01:18 -07:00
Binaries have preset names when argv[0] is an empty string

Why would it be desirable to have argc == 0?

Some programs have a static char *program_name that is used for usage synopses in the event that they're invoked incorrectly. This is done with…

trinity deleted branch nosysexits from bonsai/harakit 2023-12-25 21:02:48 -07:00
trinity deleted branch false-rs from bonsai/harakit 2023-12-25 21:02:37 -07:00
trinity deleted branch rmlibfileis from bonsai/harakit 2023-12-25 21:02:25 -07:00