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…
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…
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…
Requiring an input argument even if standard input would favor the former scenario ergonomically (
dj in
versusdj - out
).please rephrase this, i have no idea what this is…
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…
argv[0]
is an empty string
Tagged because you might have something to add, I think we've probably discussed argc==0
before.
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…
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…
fis(1)
– field isolator
The POSIX man page for cut(1) looks complex but not terrible to implement as-is.
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,…
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…