Commit Graph
100 Commits
Author SHA1 Message Date
trinity 15c4f0cb8a peek.1: correct references to use the 1p section, add reference to stty(1p) 2024-08-14 11:06:31 -06:00
trinity b68be7ff62 peek(1): fix ioerr typos 2024-07-27 18:51:09 -06:00
trinity a217c4f631 Merge branch 'main' into peek 2024-07-27 18:46:48 -06:00
trinity 3f23e437e8 peek(1): more style fixes 2024-07-26 07:58:34 -06:00
trinity a927c39c06 peek(1): update style 2024-07-26 07:42:05 -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 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
trinity fe175cab19 dj(1): add a variable for skipping in the main loop 2024-07-04 20:00:40 -06:00
trinity 8c33f0116c dj(1): move open(2) flags, remove unnecessary comments 2024-07-04 19:45:53 -06:00
trinity f8c0e0570c dj(1): make Io_write handle prec and rec 2024-07-04 19:36:32 -06:00
trinity fc0d9e374b dj(1): make printio fprintio 2024-07-04 19:23:09 -06:00
trinity f49a2d2eb8 dj(1): move prec and rec adjustment into Io_read 2024-07-04 19:21:40 -06:00
trinity 4004a4a006 dj(1): use the retvals of Io_read and Io_write 2024-07-04 18:41:20 -06:00
trinity cc64561388 dj(1): only include sysexits if they aren't defined 2024-07-03 20:52:41 -06:00
trinity 5b1d4fef88 dj(1): remove Io_fdopen 2024-07-03 19:22:34 -06:00
trinity 2b593559af dj(1): remove Io_bufrpad 2024-07-03 19:06:59 -06:00
trinity b74160fa4e dj(1): remove Io_bufxfer 2024-07-03 19:04:01 -06:00
trinity 3e1735f778 dj(1): clean up some stray ends 2024-07-03 18:44:42 -06:00
trinity adda0d9580 dj.1: elaborate on skip/seek behavior, provide another example 2024-07-03 18:30:54 -06:00
trinity 2167f35f58 dj(1): fix segfault when bses are mismatched 2024-07-03 17:59:21 -06:00
trinity f4b97be1f1 dj(1): iron out Io_bufxapp 2024-07-03 17:50:04 -06:00
trinity 7fe122ac3b dj.1: clarify skip/seek behavior with regards to statistics output 2024-07-03 16:13:20 -06:00
trinity 944feef434 dj(1): Refactor out Io_fdseek entirely 2024-07-03 16:07:02 -06:00
trinity 66ca4b9a12 dj(1): remove unnecessary stderr checks 2024-07-03 15:47:48 -06:00
trinity 3897f44cf8 dj(1): prefix getopt optstring with : 2024-07-03 15:46:11 -06:00
trinity 6548a448c7 dj(1): fix potential skip/seek bug in non-std io 2024-07-03 15:44:42 -06:00
trinity aff658d611 dj(1): remove debugging vestige, reflow output into printio 2024-07-03 14:50:50 -06:00
trinity 76252305f9 dj(1): remove Io_bufalloc 2024-07-03 14:46:56 -06:00
trinity 1cf67af281 dj(1): add a ton of assertions, fix if statement, fix io[i] mixups 2024-07-03 14:22:23 -06:00
trinity 064abb82a6 dj(1): fix option parsing regression 2024-07-03 13:50:24 -06:00
trinity 69510d76af Merge branch 'main' into dj 2024-06-29 19:23:03 -06:00
trinity 6b28a12b73 dj.1: last minute changes 2024-06-29 19:14:08 -06:00
trinity 6bd19c072d swab(1): fix some silly mistakes 2024-06-29 06:02:39 -06:00
trinity 3b5ddede98 Merge branch 'main' into dj 2024-06-29 05:56:11 -06:00
trinity 67b60e20cc dj.1: Man page fixes 2024-06-29 05:55:29 -06:00
trinity 26558d6ffe Merge branch 'main' into peek 2024-06-28 08:40:17 -06:00
trinity c7a4cd1d19 peek.1: s/inputted/input/ 2024-06-28 08:37:49 -06:00
trinity e807a49612 peek.1: fix version string 2024-06-28 08:36:47 -06:00
trinity d07bb7da41 swab(1): untested move to new getopt bindings 2024-06-28 08:33:31 -06:00
trinity 3a66022c6d dj(1): more refactor (get rid of the c scratch variable, use scoping) 2024-06-26 15:28:02 -06:00
trinity 2cfae0e8d7 dj(1): refactor (remove Io_setdefaults and other stuff) 2024-06-26 15:15:37 -06:00
trinity fb74e7bef0 dj(1), dj.1: Remove -A (use -a "\0") (see #101) 2024-06-26 13:45:36 -06:00
trinity e65f6b650d dj(1): more refactor (get rid of ep pun) 2024-06-26 13:41:24 -06:00
trinity b70b356ce5 dj(1): remove Io_buffree 2024-06-26 12:45:50 -06:00
trinity 66f5498232 dj(1): refactor Io_fdseek 2024-06-26 12:40:36 -06:00
trinity 45a880455d dj(1): refactor to build again and to get rid of globals 2024-06-26 12:22:33 -06:00
trinity 95f7992e0f dj(1): fix usage text to be consistent with man page 2024-06-26 11:39:34 -06:00
trinity d3f5246242 dj(1), dj.1: remove the unnecessary -d and -q 2024-06-26 11:36:52 -06:00
trinity 70ee886b83 peek.1: fix wording on -i 2024-06-26 09:55:32 -06:00
trinity ff993eebdc Makefile: all: add peek 2024-06-26 09:46:32 -06:00
trinity 262b3c18fb Merge branch 'main' into peek 2024-06-26 09:40:59 -06:00
trinity 6132c9bf47 Merge branch 'main' into scrut-sysexits 2024-04-26 19:37:34 -06:00
trinity 919b171400 scrut(1): conditionally include non-POSIX sysexits.h 2024-04-26 19:35:33 -06:00
trinity 8e38db92c7 scrut(1): update copyright header 2024-04-26 19:33:45 -06:00
trinity adc9dbded5 scrut(1): changed return status 1 to EXIT_FAILURE 2024-04-26 19:30:33 -06:00
trinity 6d3f084d9c peek(1): remove unused variables, clean up some typos 2024-04-18 10:14:52 -06:00
trinity c295f531cb peek(1): correct grammar 2024-04-18 10:04:26 -06:00
trinity c7739612a7 peek(1): strip down to bare essentials, rewrite man page to match 2024-04-18 10:03:02 -06:00
trinity 46b607384a peek(1): remove -p 2024-04-18 09:08:08 -06:00
trinity 4e5fc680e9 Import peek(1) from trinity/src 2024-04-17 16:37:54 -06:00
trinity 61382c34d9 mm(1): error out when given positional arguments 2024-03-31 22:54:03 -06:00
trinity 135bf2a8eb mm(1), mm.1: bring source in line with documentation 2024-02-26 09:11:47 -07:00
trinity d74bc715cf mm(1): fix full file handling 2024-02-26 09:02:58 -07:00
trinity f14877118d Makefile: add swab(1) 2024-02-26 08:43:03 -07:00
trinity bbac85daf8 swab(1): add copyright notice 2024-02-26 08:42:06 -07:00
trinity 1e041a52a2 swab.1: add swab(1) man page 2024-02-24 03:21:20 -07:00
trinity e788947fc4 swab(1): add argument parsing 2024-02-24 03:04:05 -07:00
trinity 3f0d95fe8f swab(1): minimum viable program 2024-02-23 20:49:24 -07:00
trinity 58245c9484 dj(1): remove function pointer hijinks (fixes #66) 2024-02-22 19:27:14 -07:00
trinity 395205d4c6 mm.1: fix case in copyright thingy 2024-02-22 19:14:38 -07:00
trinity 194b19f94b mm(1): add 2024-02-17 23:43:22 -07:00
trinity e93745ef28 .editorconfig: remove stale configure config 2024-02-17 23:25:35 -07:00