command-line-rust
command-line-rust copied to clipboard
Fix line numbers for multiple files
This fixes the differences to the cat
implementation for multiple files. See https://github.com/kyclark/command-line-rust/issues/9
Unfortunately, I haven't found a fix while still using enumerate. So, this kind of deviates from the text in the book.