w_grep 0.1.0

build a linux `grep` command cli using rust
Documentation
1
2
3
4
5
6
7
8
9
10
use std::{env, process, iter::Map, collections::HashMap, thread};

use w_grep::{Config, run};


fn main() {
    let args: Vec<String> = env::args().collect();
    let config = Config::build(&args).unwrap();
    run(&config).unwrap_or_else(|e| eprintln!("执行失败"));
}