hyuraku / rs_fileviewer

the command line to view and search the file using rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

cargo build
./target/debug/rs_textviewer sample.txt
1| I'm nobody! Who are you?
2| Are you nobody, too?
3| Then there's a pair of us - don't tell!
4| They'd banish us, you know.
5| 
> 

commands

  • line
> line 4
4| They'd banish us, you know.
> line 1-3
1| I'm nobody! Who are you?
2| Are you nobody, too?
3| Then there's a pair of us - don't tell!

About

the command line to view and search the file using rust

License:MIT License


Languages

Language:Rust 100.0%