sarbjot-14 / minigrip-rust

Grep is a command-line utility for searching plain-text data sets for lines that match a regular expression

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

minigrip-rust

Classic command line tool grep (globally search a regular expression and print). In the simplest use case, grep searches a specified file for a specified string. To do so, grep takes as its arguments a filename and a string. Then it reads the file, finds lines in that file that contain the string argument, and prints those lines.

Commands

cargo run to poem.txt > output.txt

About

Grep is a command-line utility for searching plain-text data sets for lines that match a regular expression


Languages

Language:Rust 100.0%