Commit Graph

24 Commits

Author SHA1 Message Date
d5026e5b76 readme tweaks 2023-09-15 12:20:44 +03:00
c3ac29d887 tweak: use else if instead of wrapped else, if
+formatting
2023-09-15 12:19:40 +03:00
926eab1a9b futher README tweaks 2023-09-15 12:12:47 +03:00
910ba7ca53 further README cleanup 2023-09-15 12:05:45 +03:00
82d1d88614 add licenses before distribution 2023-09-15 11:55:12 +03:00
4d31e2dbf7 README tweaks 2023-09-15 11:21:05 +03:00
59ad6bda13 move to using getc 2023-09-15 11:20:42 +03:00
d36eb1e505 move "extra" to src repository 2023-09-15 10:43:04 +03:00
b987143eb6 add historical versions 2023-09-11 16:34:53 +02:00
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