#grep #search #file #file-search #case #case-sensitive #utility

bin+lib search_file

yet another grep utility

2 releases

0.1.1 Aug 15, 2022
0.1.0 Aug 15, 2022

#14 in #case-sensitive

MIT license

5KB
91 lines

Search File

This is a grep like tool for searching lines which contains a given keyword in a file.

Installation

Using Prebuilt Binaries
  • With Bash
    curl -fsSL "https://bina.egoist.dev/imranbarbhuiya/search_file" | sh
    

    Using Bina

  • Manual Installation

    Prebuilt binaries are available for Windows, Linux, and macOS and can be found attached to the latest release.

Building From Source

Install Rust and then run:

cargo install search_file

Usage

# Case sensitive match
search_file <keyword> <file>
# Case insensitive match
IGNORE_CASE=1 search_file <keyword> <file>

This is my first rust project. So I'm just learning how to create a rust project and publish it to crate.io.

No runtime deps