A simple Java program that recursively searches through directories and text files to find a user-specified word.
It prints both the file path and the line(s) containing the word.
- Search for a word inside all
.txtfiles within a given directory. - Recursively searches through subdirectories.
- Prints the absolute file path and the matching line of text.
- Works with command-line arguments or standard input.