GitHub Release GitHub Downloads (all assets, all releases) GitHub License

Source Search is a C++ application designed to scan source code files for specified words, providing contextual lines around each match. Originally written in Python by a friend and ported to C++ by me, this tool is useful for developers and analysts looking to quickly identify specific terms within large codebases.

Features

Usage


./sourcesearch <searchWordsFile> [<outputFile> <directory>]
    

Arguments

Options

Example

To search for words listed in words.txt within the current directory and save the output to results.txt:


./sourcesearch words.txt results.txt .
    

Contributing

Contributions are welcome! If you have suggestions for improvements or new features, feel free to open an issue or submit a pull request.

To Do

License

This project is licensed under the MIT License