GrayJack / coreutils

Core utils re-implementation for UNIX/UNIX-like systems written in Rust
Mozilla Public License 2.0
108 stars 40 forks source link

Implement tail #136

Closed jeremyvii closed 3 years ago

jeremyvii commented 3 years ago

This PR begins implementing the tail utility. The -f flag has not been implementing as I am unsure how to continuously consume input with clap and insert it into a buffer. The bulk of this implementation was copied from the preexisting head utility then repurposed to fit the needs of tail. Below lists which arguments were implemented.

GrayJack commented 3 years ago

LGTM!

Some changes I even want to port back to head util!! 😄

bors r+

bors[bot] commented 3 years ago

Build succeeded: