dtb trinity
trinity commented on issue bonsai/repo#35 2024-03-10 09:15:09 -06:00
Change busybox to install to /opt/busybox

/opt/ is rarely used (for better or worse) with pkgsrc by default installing to a /usr/pkg/ prefix and most local system modifications defaulting to a /usr/local/ prefix. It would be nice…

trinity opened issue bonsai/harakit#80 2024-03-04 08:24:50 -07:00
nohup(1p) equivalent
trinity opened issue bonsai/harakit#79 2024-03-03 16:21:03 -07:00
str(1): design regrets
trinity opened issue bonsai/harakit#78 2024-03-03 10:42:52 -07:00
scrut(1): use <stdlib.h> EXIT_ macros
trinity commented on pull request bonsai/harakit#76 2024-03-02 14:52:26 -07:00
Added strerror(3) as a Rust library

I'm glad you showed me the strerrror(3p) locale thing.

In person we discussed errno being fine and the panic! being technically unreachable - though I still believe 0 should be passed to…

trinity commented on pull request bonsai/harakit#76 2024-03-02 03:47:20 -07:00
Added strerror(3) as a Rust library

You should note somewhere that this can return an empty string in case of an error.

trinity commented on pull request bonsai/harakit#76 2024-03-02 03:45:11 -07:00
Added strerror(3) as a Rust library

I really like these Makefile changes.

trinity commented on pull request bonsai/harakit#76 2024-03-02 03:45:11 -07:00
Added strerror(3) as a Rust library

For consistency with C conventions error should be errno.

trinity commented on pull request bonsai/harakit#76 2024-03-02 03:45:11 -07:00
Added strerror(3) as a Rust library

Don't name things after implementation details because implementations change. errormessage or emsg or something would be better. emessage? I don't know.

trinity suggested changes for bonsai/harakit#76 2024-03-02 03:45:11 -07:00
Added strerror(3) as a Rust library

See notes.

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

Another point against roff is that it can run arbitrary commands.

trinity commented on issue bonsai/harakit#75 2024-03-01 04:33:23 -07:00
Tests

What do you think of TESTING?

trinity created branch testing in bonsai/harakit 2024-02-29 20:33:29 -07:00
trinity pushed to testing at bonsai/harakit 2024-02-29 20:33:29 -07:00
cabe08bca4 TESTING: start testing document/script
trinity commented on issue bonsai/harakit#75 2024-02-28 21:05:07 -07:00
Tests

How should we do testing? I have a test.sh script I use for some of my own stuff - should we use that?

trinity commented on pull request bonsai/harakit#65 2024-02-26 22:38:45 -07:00
mm(1)
╭ emma@noire-carnation
│ ~/src/TiB/bonsai/coreutils
╰─# build/bin/mm -i /dev/zero -o /dev/full
free(): double free detected in tcache 2
zsh: IOT instruction …
trinity pushed to swab at bonsai/harakit 2024-02-26 17:04:47 -07:00
f14877118d Makefile: add swab(1)
bbac85daf8 swab(1): add copyright notice
Compare 2 commits »
trinity pushed to mm at bonsai/harakit 2024-02-26 17:04:38 -07:00
135bf2a8eb mm(1), mm.1: bring source in line with documentation
d74bc715cf mm(1): fix full file handling
Compare 2 commits »
trinity commented on issue bonsai/harakit#74 2024-02-26 09:22:49 -07:00
ls(1p) analogue

What if we did this:

  • lf(1) is a shell script that streams given files to readdir(1) and then a sorting program.
  • readdir(1) is a program that reads the file content of a directory from…
trinity commented on pull request bonsai/harakit#73 2024-02-26 07:05:56 -07:00
swab(1)

I prefer my style of mostly using the match statement.