coreutils/src
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
..
bin Update the binary usage to match busybox 2021-03-10 23:52:33 +01:00
uu wc: add lines() method for iterating over lines 2021-05-02 16:32:38 -04:00
uucore ls: improvements on time handling (#1986) 2021-04-28 20:54:27 +02:00
uucore_procs Fix "panic message is not a string literal" warnings (#1915) 2021-03-26 11:09:16 +01:00