Skip to content

feat: implement a mini grep#41

Open
Yunusabdul38 wants to merge 3 commits intoBlockheaderWeb3-Community:mainfrom
Yunusabdul38:input_output
Open

feat: implement a mini grep#41
Yunusabdul38 wants to merge 3 commits intoBlockheaderWeb3-Community:mainfrom
Yunusabdul38:input_output

Conversation

@Yunusabdul38
Copy link
Contributor

feat: Implement file text search functionality

This PR adds a command-line text search utility with the following features:

  • Search for text in files via command line arguments
  • Support for both case-sensitive and case-insensitive searches
  • Environment variable control for case sensitivity (IGNORE_CASE)
  • Error handling for missing files and arguments
  • Comprehensive test coverage

Usage: cargo run -- <search_term> <filename>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant