dtb trinity
trinity commented on issue bonsai/harakit#126 2024-06-28 09:20:03 -06:00
Fix usage text

My usage text guidelines are as follows:

  • Mandatory positional arguments are noted with brackets like [description].
  • Optional positional arguments are noted with parens like `(description)…
trinity commented on pull request bonsai/harakit#128 2024-06-28 08:55:40 -06:00
docs: fixes and clarification

Many of these fixes would be welcome. May I ask why this was closed?

trinity pushed to peek at bonsai/harakit 2024-06-28 08:40:40 -06:00
26558d6ffe Merge branch 'main' into peek
0fc9a6b533 Makefile, docs: programmatically generate version for docs (i got tired of doing it myself)
8b400d8a62 Makefile, docs: rename
Compare 3 commits »
trinity pushed to peek at bonsai/harakit 2024-06-28 08:37:59 -06:00
c7a4cd1d19 peek.1: s/inputted/input/
e807a49612 peek.1: fix version string
Compare 2 commits »
trinity commented on pull request bonsai/harakit#91 2024-06-28 08:34:36 -06:00
Add getopt(3p) bindings for Rust

I committed my changes to swab(1) as I believe they will work, though I'm unable to test them at the moment.

trinity pushed to getopt-bindings at bonsai/harakit 2024-06-28 08:33:47 -06:00
d07bb7da41 swab(1): untested move to new getopt bindings
trinity commented on pull request bonsai/harakit#91 2024-06-28 08:29:53 -06:00
Add getopt(3p) bindings for Rust

I'm getting a build error on libgetopt:

$ make build/o/libgetopt.rlib             
rustc  --crate-type=lib --crate-name=getopt  -o build/o/libgetopt.rlib src/libgetopt.rs
error[E0308]:…
trinity pushed to sysxs at bonsai/harakit 2024-06-28 08:09:09 -06:00
17b5573d40 Makefile: build/include/sysexits.h depends on include/sysexits.h.template
trinity pushed to sysxs at bonsai/harakit 2024-06-28 08:06:36 -06:00
06d7d331cf Makefile: fix npc, clean up swab
trinity commented on pull request bonsai/harakit#91 2024-06-27 23:01:59 -06:00
Add getopt(3p) bindings for Rust

I was about to follow-up with the fact that -o would fix this behavior but then I remembered we already do in fact use it already. I will rename the source file, should I rename strerror.rs to…

trinity created pull request bonsai/harakit#129 2024-06-27 21:38:15 -06:00
Generate Rust sysexits bindings without bindgen
trinity created branch sysxs in bonsai/harakit 2024-06-27 21:33:40 -06:00
trinity pushed to sysxs at bonsai/harakit 2024-06-27 21:33:40 -06:00
8c4552c0f3 Makefile: replace bindgen with awk
c7ed30bd6e Makefile: remove SYSEXITS; auto-generate sysexits.h falling back to the template
6efd398425 Makefile: SYSEXITS: use /dev/null directly instead of in a pipe
ab14fd6c0c Makefile: SYSEXITS: use cpp -include instead of printf
bdd258e7c4 Makefile: SYSEXITS: fix non-portable (openbsd) sed line
Compare 5 commits »
trinity commented on pull request bonsai/harakit#91 2024-06-27 09:30:44 -06:00
Add getopt(3p) bindings for Rust

Could we name the file in the heirarchy libgetopt.rs to make it abundantly clear it's not a utility? Or (this may be not practically achievable) make this a utility that also functions as a library?

trinity commented on issue bonsai/harakit#101 2024-06-27 06:09:31 -06:00
dj(1) null-byte padding: -A or -a ''?

Decided in #125; dj -a '' will be the new, only way to specify nul byte alignment padding.

trinity created pull request bonsai/harakit#125 2024-06-26 15:42:15 -06:00
WIP: dj(1): Refactor source a bit, remove -adq
trinity pushed to sleep at bonsai/harakit 2024-06-26 15:38:00 -06:00
6334f41e0b Merge branch 'main' into sleep
4b3333d8d3 fop(1): record separator worky now?
578d947561 Merge branch 'README-clarity'
2e91338101 Merge branch 'makefile-posix-2024'
72f57ba08b Makefile: adds octal disclaimer
Compare 84 commits »
trinity created branch dj in bonsai/harakit 2024-06-26 15:37:09 -06:00
trinity pushed to dj at bonsai/harakit 2024-06-26 15:37:09 -06:00
3a66022c6d dj(1): more refactor (get rid of the c scratch variable, use scoping)
2cfae0e8d7 dj(1): refactor (remove Io_setdefaults and other stuff)
fb74e7bef0 dj(1), dj.1: Remove -A (use -a "\0") (see #101)
e65f6b650d dj(1): more refactor (get rid of ep pun)
b70b356ce5 dj(1): remove Io_buffree
Compare 9 commits »
trinity deleted branch dj from bonsai/harakit 2024-06-26 15:31:55 -06:00