coreutils/src/uu/wc
Jeffrey Finkelstein 0a3e2216d7 wc: add lines() method for iterating over lines
Add the `WordCountable::lines()` method that returns an iterator over
lines of a file-like object. This mirrors the
`std::io::BufRead::lines()` method, with some minor differences due to
the particular use case of `wc`.

This commit also creates a new module, `countable.rs`, to contain the
`WordCountable` trait and the new `Lines` struct returned by `lines()`.
2021-05-02 16:32:38 -04:00
..
src wc: add lines() method for iterating over lines 2021-05-02 16:32:38 -04:00
Cargo.toml new release 0.0.6 to address the cat issue 2021-04-03 16:06:58 +02:00