Commit Graph

344 Commits

Author SHA1 Message Date
6c2b7b68fd
dj(1): more better comments 2024-07-29 14:38:33 -06:00
DTB
8d23c7fbac
dj(1): better ASV formatting and comments 2024-07-29 13:43:52 -06:00
DTB
7e347bebdf
mm(1): interpret retvals 2024-07-29 11:30:41 -06:00
DTB
a7b27f0d6a
strcmp(1): interpret all retvals 2024-07-29 11:14:48 -06:00
DTB
c554b96722
swab(1): fix type errors 2024-07-29 11:13:58 -06:00
DTB
7b930363bf
npc(1): fix syntax errors 2024-07-29 11:12:02 -06:00
DTB
5545846c92
dj(1): fix fprintio signature 2024-07-29 11:10:17 -06:00
DTB
162c6411b3
mm(1): remove terminate macro 2024-07-29 11:08:30 -06:00
DTB
2e172d93e8
dj(1): interpret all retvals 2024-07-29 11:04:00 -06:00
DTB
549fa98bdb
npc(1): interpret all retvals 2024-07-29 10:53:58 -06:00
361b34c50f
npc(1): improves program_name resolution 2024-07-29 02:35:59 -06:00
DTB
8bb57bf2e4
Merge branch 'dj-formatting' of git.tebibyte.media:bonsai/harakit into dj-formatting 2024-07-28 21:26:08 -06:00
DTB
ca6148e11f
intcmp(1): tweak comment 2024-07-28 21:06:53 -06:00
44d461fb16
scrut(1): return program_name ternary to former position 2024-07-28 18:33:49 -06:00
338a3e7155
intcmp(1): move program_name ternary 2024-07-28 18:31:01 -06:00
6b9d13b8a0
fop(1): better opt matching 2024-07-28 18:27:22 -06:00
68e31058a8
intcmp(1): move program_name ternary 2024-07-28 17:49:39 -06:00
d2ae35eac9
fop(1): fixes glaring issue with newline handling 2024-07-28 01:15:08 -06:00
0f121cbac7
fop(1): more descriptive command arguments variable name 2024-07-28 00:40:16 -06:00
09193a14d5
fop(1): fixes unhandled i/o error 2024-07-28 00:35:55 -06:00
d45fa19d5c
dj(1): fixes extraneous ternary for program_name 2024-07-27 23:59:32 -06:00
DTB
970b25dee2
str(1): fix brackets 2024-07-27 18:35:02 -06:00
DTB
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
DTB
429d064209
mm(1): fix argv use 2024-07-27 18:22:43 -06:00
DTB
c5c0e543e4
mm(1): remove useless extern errno 2024-07-27 18:21:17 -06:00
DTB
cba8394d95
str(1): fix argv parsing and add comments 2024-07-27 18:18:29 -06:00
DTB
199d48d85b
swab(1): comment code 2024-07-27 17:59:47 -06:00
c0a5e11eef
mm(1): revert changes to program_name 2024-07-25 21:28:42 -06:00
0641a487d7
intcmp(1): fixes pointless condition; formatting 2024-07-25 21:17:30 -06:00
2fe3aa894c
dj(1), intcmp(1), mm(1), npc(1), scrut(1), strcmp(1): changes to use and modify program_name 2024-07-24 19:37:07 -06:00
0282b60e65
dj(1), mm(1), npc(1), scrut(1), str(1): consistent argv[0] handling 2024-07-20 07:18:59 -06:00
DTB
f96ed9c1f3
scrut(1): fix syntax error 2024-07-19 19:34:37 -06:00
DTB
19eee6b4e5
scrut(1): replace do/while loop 2024-07-19 19:31:34 -06:00
DTB
9086bf0d08
dj(1): remove do/while statement in read loop 2024-07-19 19:18:04 -06:00
DTB
c8b4f7a8b3
str(1): edit out goto 2024-07-19 19:03:23 -06:00
DTB
71f4a411b6
dj(1): replace do/while in write loop 2024-07-19 18:40:24 -06:00
DTB
a01cea572d
dj(1): replace do/while on hard seeking 2024-07-19 18:26:59 -06:00
DTB
e90d25e30f
Merge branch 'strcmp' 2024-07-15 19:52:26 -06:00
DTB
71f372d2c2
Merge branch 'intcmp' 2024-07-15 15:21:31 -06:00
DTB
27ff64dffa
intcmp(1): add comments 2024-07-15 14:51:54 -06:00
DTB
becb3bac4e
strcmp(1): code clarification 2024-07-15 14:40:26 -06:00
fbdf4f9c45
intcmp(1): switch formatting 2024-07-15 13:38:08 -06:00
806ddac8da
dj(1): whitespace formatting 2024-07-15 13:31:38 -06:00
dc2a4a39ba
swab(1): note what sysexits are being used 2024-07-15 13:17:00 -06:00
7ff14214c3
npc(1): move bit comment to be next to hex 2024-07-15 13:16:41 -06:00
a3ceb845e3
dj(1): revert some formatting changes 2024-07-15 13:16:05 -06:00
c2e6744e2b
dj(1): revert changes to function return type formatting 2024-07-15 13:09:09 -06:00
e7a6632b41
mm(1): improves comments 2024-07-15 12:52:02 -06:00
48dbea0228
mm(1): imports full enum 2024-07-15 12:52:02 -06:00
64f3f73d96
mm(1): formatting 2024-07-15 12:52:02 -06:00
DTB
8dc763f05e
mm(1): treats trailing arguments as optargs for the last opt 2024-07-15 12:52:01 -06:00
20692d581a
mm(1): makes -e block inferring stdout as an output, mm.1: reflects changes to -e 2024-07-15 12:52:01 -06:00
8d693b6664
mm(1): removes debug print 2024-07-15 12:52:01 -06:00
37804aab6b
mm(1): fixes comment about flags -a & -t 2024-07-15 12:52:01 -06:00
3b76254599
mm(1): fixes creating files 2024-07-15 12:52:01 -06:00
e972ff468a
mm(1): added -t for disabling truncation; mm.1: updated docs 2024-07-15 12:52:01 -06:00
1b3b03cae0
mm(1): rewritten in Rust 2024-07-15 12:51:48 -06:00
DTB
efb3ce626d
strcmp(1): fix program_name type 2024-07-15 04:29:43 -06:00
DTB
d87c278be5
strcmp(1): re-style, tweak exits 2024-07-15 04:21:50 -06:00
DTB
5caefbb465
strcmp(1): note used sysexit 2024-07-15 03:45:36 -06:00
DTB
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
DTB
2f2270322a
intcmp(1): rewrite in rust 2024-07-15 03:14:57 -06:00
DTB
699893af89
intcmp(1): initial rust impl 2024-07-15 03:09:00 -06:00
DTB
9addfc9284
Merge branch 'dj' 2024-07-15 02:36:07 -06:00
ab003f7d4a
strcmp(1): commenting 2024-07-14 03:25:52 -06:00
3c243e4a09
str(1): formatting 2024-07-14 03:20:15 -06:00
49031102f2
npc(1): commenting 2024-07-14 03:17:21 -06:00
fd1ed79329
dj(1): return top-of-scope variable 2024-07-14 02:43:01 -06:00
fe0c631d42
dj.1: reverts change to hex literals 2024-07-14 02:41:59 -06:00
b0602388e7
rpn(1): better comments 2024-07-13 18:29:27 -06:00
a9b388fe4b
hru(1): adds more descriptive comments 2024-07-13 18:18:32 -06:00
e4e823a309
fop(1): adds more comments 2024-07-13 18:03:49 -06:00
c7c6ca2c60
mm(1): formatting 2024-07-13 17:23:31 -06:00
26b0c93f4d
strcmp(1): returns -1, specifies sysexits imports 2024-07-13 17:04:38 -06:00
35a20dca79
npc(1): specifies sysexits imports, formatting 2024-07-13 17:03:41 -06:00
8421f8be87
mm(1): specifies sysexits imports 2024-07-13 17:02:23 -06:00
0c530dffbf
intcmp(1): formatting, fixes argv[0] ternary and usage function 2024-07-13 17:01:53 -06:00
d9dd4e6057
intcmp(1): formatting, lists sysexits imports, allows no args 2024-07-13 16:57:52 -06:00
1dfad87e87
dj(1): lists sysexits imports, fixes negation 2024-07-13 16:56:56 -06:00
99f2b2963a
dj(1): more formatting 2024-07-12 16:39:11 -06:00
666c621a02
strcmp(1): more formatting 2024-07-12 16:38:50 -06:00
34cd715e37
mm(1): removes unnecessary macros 2024-07-12 16:22:56 -06:00
958bfa52ed
scrut(1): more formatting 2024-07-12 16:18:48 -06:00
59de0262bd
strcmp(1): adds copyright header, formatting, removes unused #include 2024-07-12 16:15:41 -06:00
5d2872d050
scrut(1): formatting, removes gotos 2024-07-12 16:04:07 -06:00
6e1e3db6c8
npc(1): forgot to update copyright 2024-07-12 15:55:36 -06:00
9cfc48c960
intcmp(1): formatting, removed gotos 2024-07-12 15:54:30 -06:00
acc3cf3e90
swab(1): formatting, remove gotos 2024-07-12 15:43:00 -06:00
1ad4114882
dj(1): remove unnecessary macros 2024-07-12 15:42:24 -06:00
db0dd02d55
dj(1): more formatting 2024-07-12 15:32:30 -06:00
6cf7fd9794
dj(1): reformatting 2024-07-12 15:23:57 -06:00
DTB
8f8de5de2b
dj(1): fix io[0].bufuse underflow 2024-07-08 22:53:44 -06:00
DTB
0df2c9f566
dj(1): fix infiniskipping 2024-07-08 22:48:16 -06:00
DTB
b7bc1f16ad
swab(1): use the getopt error message 2024-07-08 14:34:42 -06:00
ca6865688a
swab(1): updates getopt usage 2024-07-08 13:23:23 -06:00
DTB
1fd768057c
swab(1): don't accept positional arguments 2024-07-08 11:45:01 -06:00
DTB
35d54d84b0
swab(1): don't use the getopt error message 2024-07-08 11:31:35 -06:00
DTB
a141b95293
swab(1): remove -f 2024-07-08 11:30:21 -06:00
DTB
bf06e91be5
Merge branch 'main' into dj 2024-07-08 11:20:52 -06:00
DTB
5d5a6d2172
dj(1): fix retvals 2024-07-07 21:13:44 -06:00