Commit Graph

6 Commits (cat)

Author SHA1 Message Date
Mike Gerwitz 7573a827a0 Initial implementation of cat and friends
This is intended to be a very basic subset (for now) of cat that will be
more efficient for general I/O (mainly pipeines between shell functions)
than spawning a process. Benchmarks do show that it is definitely not always
worth the trade off, but those situations are less likely to occur (large
inputs) and, if they do, the author can be aware of it and use a function
that will prevent the builtin from being used (I'll provide that as well,
instead of `command cat`).

I'll be writing an article on this with benchmarks to rationalize and
explain in depth my approach.
2014-06-17 23:54:28 -04:00
Mike Gerwitz 77d4c14e5e Including previous stack frame on assertion failure 2014-06-17 23:47:26 -04:00
Mike Gerwitz 7e8952a4d3 run-test now outputs source filename and line on failure 2014-06-17 01:37:31 -04:00
Mike Gerwitz 3ddf7f00e8 `assert` added to test runner 2014-06-17 01:37:31 -04:00
Mike Gerwitz a073da42f8 Test runner added 2014-06-17 01:37:24 -04:00
Mike Gerwitz 6bd5a53125
Added COPYING and README.md 2014-06-13 16:48:25 -04:00