Commit Graph

3 Commits

Author SHA1 Message Date
09b4c503b9 Update Zig Cat example
* added reading from stdin if no paths are provided
* using streams to encapsulate common behaviour in print_from_stream
2024-09-04 23:53:11 +02:00
c36cac1b06 Update Zig Cat Example
* Added file open error handling, by catching an error.
* Added better streamUntilDelimiter error handling. You can try,
  but you can't catch.
* Use ArrayList's writer to dynamically allocate space needed to
  read a line.
2024-09-04 00:01:58 +02:00
c26b902914 Add Zig Cat Example (draft) 2024-09-03 08:27:16 +02:00