Commit Graph
100 Commits
Author SHA1 Message Date
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 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 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 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 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 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
trinity abb8fdf935 Merge branch 'scrut-fix' 2024-02-17 23:15:07 -07:00
trinity de9f8dc037 scrut.1: update man page based on review (see #62) 2024-02-17 23:12:39 -07:00
trinity bee0165074 scrut(1): add man page 2024-02-16 01:40:38 -07:00
trinity 64a1a19bd8 scrut(1): fix buffer overflow in option parsing 2024-02-16 01:13:37 -07:00
trinity 2ec04c0564 true(1): fix my copyright dates in man page 2024-02-02 06:23:12 -07:00
trinity a39772d7a1 false(1): fix my copyright dates in man page 2024-02-02 06:22:59 -07:00
trinity a90c9b7998 true(1): fix man page POSIX reference 2024-02-01 20:42:28 -07:00
trinity fb929e63f5 strcmp(1): fix man page POSIX reference 2024-02-01 20:42:15 -07:00
trinity 791db2ed6d str(1): fix man page POSIX reference 2024-02-01 20:41:57 -07:00
trinity 870548b46b npc(1): fix man page POSIX reference 2024-02-01 20:41:42 -07:00
trinity af0c472173 intcmp(1): fix man page POSIX reference 2024-02-01 20:40:50 -07:00
trinity 6715e0a50f false(1): fix man page POSIX reference 2024-02-01 20:40:18 -07:00
trinity 271510476c dj(1): fix getopt optstring 2024-01-29 22:33:04 -07:00
trinity b7bd6a6e7b dj(1): add copyright header in man page 2024-01-17 21:03:09 -07:00
trinity a1b29bb6ed Makefile: fix PHONYness of existing recipes and make non-PHONY recipes 2024-01-16 00:06:48 -07:00
trinity c237af0e37 Makefile: move PHONYs to their respective recipes 2024-01-15 23:54:42 -07:00
trinity ba7bd26fe6 dj(1): fix typos in comments 2024-01-15 13:34:30 -07:00
trinity d25c8a64f2 dj(1): add copyright header to dj.c 2024-01-15 13:32:33 -07:00
trinity 612067890f dj(1): interpret a '-' file name as standard input/output 2024-01-10 15:03:04 -07:00
trinity 88a66bcc01 dj(1): import from git.sr.ht/~trinity/src 2024-01-09 23:43:45 -07:00
trinity a54a634516 GNUmakefile: remove libfileis(3) 2023-12-25 17:50:23 -07:00
trinity de304b7ef7 remove libfileis(3) 2023-12-25 17:49:05 -07:00
trinity 8a8558442e GNUmakefile: fix build for false(1) 2023-12-25 17:11:34 -07:00
trinity 324328d2cc false(1): rewrite from C to Rust 2023-12-25 17:05:19 -07:00
trinity 8e330d8a63 strcmp(1): without <sysexits.h> fall back to ANSI C 2023-12-25 15:58:47 -07:00
trinity d4ee9bb93b str(1): without <sysexits.h> fall back to ANSI C 2023-12-25 15:58:24 -07:00
trinity 52d150b02b scrut(1): without <sysexits.h> fall back to ANSI C 2023-12-25 15:58:08 -07:00