Skip to content

Releases: dev-xero/rust-grep

v1.0.1

28 Sep 13:01
Compare
Choose a tag to compare

Rust Grep

Grep is a command-line utility in Unix and Unix-like operating systems used for searching and manipulating text or regular expressions within files. The name "grep" stands for Global Regular Expression Print.

This implementation is part of the exercise in chapter 11 of the 'Rust Programming Language' book.

Usage

The program accepts two arguments:

  1. The string to search for, and
  2. The file to search in

As an example,

.\rust_grep.exe body poem.txt > output.txt

Will search for the string body in poem.txt and write the lines containing that string to output.txt.

Changelog

  1. Patches and minor bug fixes
  2. Switched to iterator method instead of loops

v1.0.0

26 Sep 21:27
0c008a3
Compare
Choose a tag to compare

Rust Grep

Grep is a command-line utility in Unix and Unix-like operating systems used for searching and manipulating text or regular expressions within files. The name "grep" stands for Global Regular Expression Print.

This implementation is part of the exercise in chapter 11 of the 'Rust Programming Language' book.

Usage

The program accepts two arguments:

  1. The string to search for, and
  2. The file to search in

As an example,

.\rust_grep.exe body poem.txt > output.txt

Will search for the string body in poem.txt and write the lines containing that string to output.txt.