For this homework set, you will design a Rust version of Unix’s wc.
The objective of this homework is to deepen your knowledge of Rust’s I/O system and its iterators.
Deadline Friday 30 January NOON.
$ wc 1.scrbl
73 399 2776 1.scrbl
$ wc 2.scrbl
73 392 2722 2.scrbl
Following historical convention, you may assume that a word as a maximal string of characters delimited by <space>, <tab>, or <newline>. You may also assume ASCII input.
$ /usr/bin/time wc bible-plain-text.txt
92870 969905 5371778 bible-plain-text.txt
0.03 real 0.03 user 0.00 sys