dtb trinity
trinity commented on issue bonsai/harakit#15 2024-01-01 20:51:44 -07:00
dj(1) - disk jockey

Busybox dd(1) doesn't count skipped records written as nuls in its statistics output. Given the use of the phrasing "before copying" I think this is fine.

trinity commented on issue bonsai/harakit#15 2024-01-01 20:45:17 -07:00
dj(1) - disk jockey

Busybox dd(1) fails to seek on streams because lseek(3) returns -1 and sets errno to 29, "Invalid seek". I don't think this follows POSIX, which says the following:

seek=n Skip n…

trinity commented on issue bonsai/harakit#15 2024-01-01 20:40:29 -07:00
dj(1) - disk jockey

I just noticed dd(1p) specifies that seek=100 and skip=100 seek/skip 100 blocks, not bytes. I'm not replicating that behavior because it sucks.

trinity commented on issue bonsai/harakit#27 2024-01-01 19:50:49 -07:00
GNU yes(1) analogue

printf(1p) would be a nice addition.

On second thought I might be able to implement it in shell without terrible hacks. It seems to do the following:

  • Printing verbatim. This can be…
trinity commented on issue bonsai/harakit#27 2024-01-01 08:58:51 -07:00
GNU yes(1) analogue

printf(1p) will suck to implement so I'll wanna finish what I've already done before that.

trinity commented on issue bonsai/harakit#27 2024-01-01 08:55:16 -07:00
GNU yes(1) analogue

Here's a fully featured yes(1) in C:

#include <stdio.h> /* fprintf(3), NULL */
#include <stdlib.h> /* stdout */
#include <sysexits.h> /* EX_OK */

char *fake_argv[] = {
    (char [])
trinity commented on issue bonsai/harakit#27 2024-01-01 07:57:25 -07:00
GNU yes(1) analogue

echo -r, -r being "reverberate", would be delightful, but echo(1p) is implementation dependent enough as-is.

speak has historically been used for text-to-speech, so maybe not the best…

trinity commented on issue bonsai/harakit#26 2024-01-01 07:06:52 -07:00
Usage of Projects tab

We could move slowly over the alphabet, 5 at a time.

trinity commented on issue bonsai/harakit#24 2024-01-01 00:17:29 -07:00
Dependencies in README

Is it necessary to make another file? A section listing system distributions' package managers' dependencies for running make wouldn't be too long.

trinity commented on issue bonsai/harakit#26 2024-01-01 00:15:41 -07:00
Usage of Projects tab

I'd like a separate project for each POSIX section 1 utility to implement all the defined functionality.

trinity commented on issue bonsai/harakit#19 2023-12-31 23:47:50 -07:00
ASV in Bonsai

My rough interpretation of ASV dating back some years (this is why I wrote ascii.h) was the following:

  • ASCII_US is the unit…
trinity commented on issue bonsai/harakit#15 2023-12-31 23:13:27 -07:00
dj(1) - disk jockey

There are some nuances I'm trying to figure out.

One is specifically at the last dd(1p) invocation here:

$ </dev/zero dd bs=10 count=10 
trinity commented on issue bonsai/harakit#19 2023-12-31 14:18:08 -07:00
ASV in Bonsai

I think we ought to reopen this issue as an ongoing discussion regarding ASV handling in Bonsai.

trinity commented on issue bonsai/harakit#24 2023-12-30 15:11:19 -07:00
Dependencies in README

Optionally, on Alpine, rustfmt.

trinity opened issue bonsai/harakit#24 2023-12-30 15:10:15 -07:00
Dependencies in README
trinity closed pull request emma/en#1 2023-12-30 11:43:55 -07:00
Some stuff
trinity commented on issue bonsai/harakit#21 2023-12-30 08:50:03 -07:00
rpn(1) - reverse polish notation

q

trinity commented on issue bonsai/harakit#23 2023-12-30 08:47:22 -07:00
tests/posix: dd(1p)

Emma and I have discussed a solution to input/output direction, mm(1), which will replace cat(1p) and tee(1p). I've yet to write a utility proposal though.

trinity opened issue bonsai/harakit#23 2023-12-30 08:44:13 -07:00
dd(1p)
trinity opened issue bonsai/harakit#22 2023-12-30 08:36:22 -07:00
swab(1) - swap bytes