Commit Graph
100 Commits
Author SHA1 Message Date
trinity 87c9e29932 tests: bonsai/peek.mk 2024-09-01 08:51:33 -06:00
trinity 1037e32e6e peek(1): fix erroring on stdin/stdout redirection 2024-09-01 08:50:13 -06:00
trinity 5c70852890 peek.1: replace parens with square brackets 2024-09-01 08:50:12 -06:00
trinity 8ec18ccf75 peek(1): use stdbool.h 2024-09-01 08:50:12 -06:00
trinity 3bfdc62035 peek(1): better error on piping 2024-09-01 08:50:12 -06:00
trinity 7d174c1f7c peek(1): warn on pledge(2) or unveil(2) errors 2024-09-01 08:50:12 -06:00
trinity 3f41110617 peek(1): pledge(2) and unveil(2) on OpenBSD 2024-09-01 08:50:11 -06:00
trinity 7a69e1d516 peek.1: correct references to use the 1p section, add reference to stty(1p) 2024-09-01 08:50:11 -06:00
trinity 64e943f64a peek(1): fix ioerr typos 2024-09-01 08:50:11 -06:00
trinity 16dcd4da37 peek(1): more style fixes 2024-09-01 08:50:11 -06:00
trinity d892fa1cac peek(1): update style 2024-09-01 08:50:11 -06:00
trinity 3862a95151 peek.1: s/inputted/input/ 2024-09-01 08:48:26 -06:00
trinity 264ae2e82c peek.1: fix version string 2024-09-01 08:48:26 -06:00
trinity 1634761593 peek.1: fix wording on -i 2024-09-01 08:48:26 -06:00
trinity 0b40360e7e Makefile: all: add peek 2024-09-01 08:48:26 -06:00
trinity 07aa9a9abc peek(1): remove unused variables, clean up some typos 2024-09-01 08:48:25 -06:00
trinity fce49bed85 peek(1): correct grammar 2024-09-01 08:46:56 -06:00
trinity 62b38a6765 peek(1): strip down to bare essentials, rewrite man page to match 2024-09-01 08:46:56 -06:00
trinity 23521bade5 peek(1): remove -p 2024-09-01 08:46:56 -06:00
trinity 3b774cab27 Import peek(1) from trinity/src 2024-09-01 08:46:52 -06:00
trinity 579ff65b67 tests: bonsai/npc.mk: drop redundant tab removal 2024-08-21 21:59:22 -06:00
trinity 334433536b tests: bonsai/npc.mk: fix harrowing ordeal of a Linux error 2024-08-21 21:57:10 -06:00
trinity e2c03842a3 intcmp(1): remove extra newline 2024-08-13 12:13:47 -06:00
trinity 0fd66bff38 false(1), true(1): complete main prototype 2024-08-13 12:04:42 -06:00
trinity 0c4923016e Makefile: replace include/None.mk with /dev/null 2024-08-13 11:56:09 -06:00
trinity 4c81516742 strcmp(1): further error-proofing 2024-08-10 22:30:08 -06:00
trinity 98c4d94f6d scrut(1): further error-proofing 2024-08-10 22:24:32 -06:00
trinity da190f713c npc(1): tweak OpenBSD functions 2024-08-10 22:18:15 -06:00
trinity 10b7f7706b dj(1): tweak OpenBSD functions 2024-08-10 22:16:06 -06:00
trinity b1a4a1a2b9 dj(1): use entirely-stdio error messages for OpenBSD functions 2024-08-10 22:03:59 -06:00
trinity a7f16b5a7e swab.1: Add note to keep example in tests 2024-08-07 08:35:24 -06:00
trinity a94884cc2a tests: bonsai/swab.mk: add example from tha man page 2024-08-07 08:34:29 -06:00
trinity 9412f95cb1 tests: bonsai/str.mk: add str_isalpha test 2024-08-05 21:16:18 -06:00
trinity 74d6ec16ac Merge branch 'testing' of git.tebibyte.media:bonsai/harakit into testing 2024-08-04 13:45:10 -06:00
trinity e93d218b87 tests/bonsai: str.mk: -h test 2024-08-04 09:14:19 -06:00
trinity cd5983b10b tests/bonsai: intcmp.mk: add a comment 2024-08-04 09:05:20 -06:00
trinity acdbecf178 tests: bonsai/scrut.mk: add tests 2024-08-03 21:36:53 -06:00
trinity 0f2d357476 tests/bonsai: dj.mk: tee diagnostics to stderr instead of tty 2024-08-03 07:33:46 -06:00
trinity 588680406a tests: bonsai/npc.mk: full ASCII test coverage 2024-08-03 07:29:04 -06:00
trinity 91de98cea3 tests: bonsai/intcmp.mk: make tests more relevant to failure cases 2024-08-02 18:28:24 -06:00
trinity bd09d16949 tests: bonsai/dj.mk: comment more 2024-08-02 18:22:45 -06:00
trinity 6bbccb3776 fop(1): fix minor optind bug, add some comments 2024-07-29 21:14:45 -06:00
trinity fd13a7f189 swab(1): fix imports to be consistent 2024-07-29 14:43:21 -06:00
trinity 8d23c7fbac dj(1): better ASV formatting and comments 2024-07-29 13:43:52 -06:00
trinity 7e347bebdf mm(1): interpret retvals 2024-07-29 11:30:41 -06:00
trinity a7b27f0d6a strcmp(1): interpret all retvals 2024-07-29 11:14:48 -06:00
trinity c554b96722 swab(1): fix type errors 2024-07-29 11:13:58 -06:00
trinity 7b930363bf npc(1): fix syntax errors 2024-07-29 11:12:02 -06:00
trinity 5545846c92 dj(1): fix fprintio signature 2024-07-29 11:10:17 -06:00
trinity 162c6411b3 mm(1): remove terminate macro 2024-07-29 11:08:30 -06:00
trinity 2e172d93e8 dj(1): interpret all retvals 2024-07-29 11:04:00 -06:00
trinity 549fa98bdb npc(1): interpret all retvals 2024-07-29 10:53:58 -06:00
trinity 8bb57bf2e4 Merge branch 'dj-formatting' of git.tebibyte.media:bonsai/harakit into dj-formatting 2024-07-28 21:26:08 -06:00
trinity ca6148e11f intcmp(1): tweak comment 2024-07-28 21:06:53 -06:00
trinity 970b25dee2 str(1): fix brackets 2024-07-27 18:35:02 -06:00
trinity 5d48114083 dj(1), intcmp(1), mm(1), npc(1), scrut(1), str(1): make usage function consistent 2024-07-27 18:32:04 -06:00
trinity 429d064209 mm(1): fix argv use 2024-07-27 18:22:43 -06:00
trinity c5c0e543e4 mm(1): remove useless extern errno 2024-07-27 18:21:17 -06:00
trinity cba8394d95 str(1): fix argv parsing and add comments 2024-07-27 18:18:29 -06:00
trinity 199d48d85b swab(1): comment code 2024-07-27 17:59:47 -06:00
trinity f96ed9c1f3 scrut(1): fix syntax error 2024-07-19 19:34:37 -06:00
trinity 19eee6b4e5 scrut(1): replace do/while loop 2024-07-19 19:31:34 -06:00
trinity 9086bf0d08 dj(1): remove do/while statement in read loop 2024-07-19 19:18:04 -06:00
trinity c8b4f7a8b3 str(1): edit out goto 2024-07-19 19:03:23 -06:00
trinity 71f4a411b6 dj(1): replace do/while in write loop 2024-07-19 18:40:24 -06:00
trinity a01cea572d dj(1): replace do/while on hard seeking 2024-07-19 18:26:59 -06:00
trinity cd875df547 README: attempt to clarify intent 2024-07-18 09:32:58 -06:00
trinity e90d25e30f Merge branch 'strcmp' 2024-07-15 19:52:26 -06:00
trinity 71f372d2c2 Merge branch 'intcmp' 2024-07-15 15:21:31 -06:00
trinity 27ff64dffa intcmp(1): add comments 2024-07-15 14:51:54 -06:00
trinity becb3bac4e strcmp(1): code clarification 2024-07-15 14:40:26 -06:00
trinityandemma 8dc763f05e mm(1): treats trailing arguments as optargs for the last opt 2024-07-15 12:52:01 -06:00
trinity efb3ce626d strcmp(1): fix program_name type 2024-07-15 04:29:43 -06:00
trinity 16f23e11c0 strcmp.1: update docs to match utility 2024-07-15 04:26:57 -06:00
trinity d87c278be5 strcmp(1): re-style, tweak exits 2024-07-15 04:21:50 -06:00
trinity 5caefbb465 strcmp(1): note used sysexit 2024-07-15 03:45:36 -06:00
trinity 8d743dab7a strcmp(1): add copyright header
I could trace strcmp(1) as far back as
<293436c5ad/src/streq.c>
in my repo.
2024-07-15 03:43:25 -06:00
trinity 2f2270322a intcmp(1): rewrite in rust 2024-07-15 03:14:57 -06:00
trinity 699893af89 intcmp(1): initial rust impl 2024-07-15 03:09:00 -06:00
trinity 9addfc9284 Merge branch 'dj' 2024-07-15 02:36:07 -06:00
trinity 8f8de5de2b dj(1): fix io[0].bufuse underflow 2024-07-08 22:53:44 -06:00
trinity 0df2c9f566 dj(1): fix infiniskipping 2024-07-08 22:48:16 -06:00
trinity 94873a2ddc tests: bonsai/dj.sh: iron out some existing tests 2024-07-08 22:25:18 -06:00
trinity aa819cabc2 tests: bonsai/npc.sh: initial arg parsing tests 2024-07-08 22:24:18 -06:00
trinity 7939985c98 Merge branch 'main' into testing 2024-07-08 14:53:47 -06:00
trinity b7bc1f16ad swab(1): use the getopt error message 2024-07-08 14:34:42 -06:00
trinity 1fd768057c swab(1): don't accept positional arguments 2024-07-08 11:45:01 -06:00
trinity 35d54d84b0 swab(1): don't use the getopt error message 2024-07-08 11:31:35 -06:00
trinity a141b95293 swab(1): remove -f 2024-07-08 11:30:21 -06:00
trinity bf06e91be5 Merge branch 'main' into dj 2024-07-08 11:20:52 -06:00
trinity 5d5a6d2172 dj(1): fix retvals 2024-07-07 21:13:44 -06:00
trinity 691e94c0c1 dj(1): error reporting more of the time 2024-07-07 20:33:54 -06:00
trinity bab3cdd90e dj(1): Io_write: don't add to bufuse 2024-07-07 18:14:48 -06:00
trinity abfe7046e7 dj(1): fix some type issues 2024-07-05 08:02:09 -06:00
trinity 6ed7089b25 dj(1): statistics now track hard seeks 2024-07-04 21:32:05 -06:00
trinity 571796fe0d dj.1: update man page to match behavior 2024-07-04 21:05:15 -06:00
trinity 9e8b82c4bb dj(1): fix inaccurate statistics after Io_read and Io_write 2024-07-04 20:47:30 -06:00
trinity 906eb92f5a dj(1): (broken) move hard skipping to the main loop 2024-07-04 20:27:31 -06:00
trinity 9f420131ee dj(1): more work adapting hard skipping to the main loop 2024-07-04 20:16:54 -06:00
trinity 1fab60d779 dj(1): no more pointer arithmetic 2024-07-04 20:05:18 -06:00