16168840c3
add lc version, various improvements.
2023-09-10 15:05:28 +02:00
496cd811a1
small readability reorder
...
Thought a bit about whether having OR instead of AND
changes performance, and concluded it probably didn't.
In particular, think about when it jumps to the inner
part of the if/else condition
2023-09-09 16:21:03 +02:00
aec062db2e
small simplification.
2023-09-09 11:22:41 +02:00
0b01807f10
improvements based on other wc versions
2023-09-09 11:01:04 +02:00
33c4972b3d
make format
2023-09-09 00:07:22 +02:00
2009c18381
actually, delete usage function
2023-09-09 00:06:56 +02:00
13eb71f4ee
rework usage a bit.
2023-09-09 00:05:34 +02:00
b9025a01db
add usage, start looking into gnu utils
2023-09-09 00:02:31 +02:00
727a6f6485
further progress.
2023-09-08 23:38:51 +02:00
443b7503f9
formatting pass.
2023-09-08 23:23:18 +02:00
aef8269a68
add a few more tests, mini-refactor.
2023-09-08 23:22:57 +02:00
c752033121
take a filenum instead of a file pointer.
2023-09-08 23:07:49 +02:00
4a9ab4f9f3
differentiate between file and pipe.
2023-09-08 23:02:54 +02:00
7108aef1b3
add function that simply echoes back from stdinput
2023-09-08 22:42:06 +02:00
b5402d8959
add initial plans.
2023-09-08 22:27:48 +02:00