README.md (sift-0.8.0) | : | README.md (sift-0.9.0) | ||
---|---|---|---|---|
# sift | # sift | |||
A fast and powerful open source alternative to grep. | A fast and powerful open source alternative to grep. | |||
## Features | ||||
sift has a slightly different focus than most other grep alternatives. Code sear | ||||
ch, log search / digital forensics and data processing are the main use cases, b | ||||
ut the primary goal is to provide safe defaults and to make it easily configurab | ||||
le for a specific use case. Among the features are: | ||||
* Stable releases, cross platform support | ||||
* Safe defaults: sift searches everywhere if not configured otherwise | ||||
* Complete & working .gitignore support | ||||
* High [performance](https://sift-tool.org/performance) for many uses cases | ||||
* Support for adding custom file types to narrow down searches | ||||
* Multiline support | ||||
* Support for big files: >50GB, >5,000,000,000 lines and >5,000,000,000 matches | ||||
successfully tested | ||||
Sift allows easy customization. | ||||
Example: Configure sift to | ||||
* Ignore case | ||||
* Show line numbers | ||||
* Skip binary files | ||||
* Respect .gitignore files: | ||||
```sift -i -n --binary-skip --git --write-config``` | ||||
The configuration can be overridden for specific directories. | ||||
sift understands **conditions** to process complex formats or support code audit | ||||
s. | ||||
Example: Search for ```.php``` files containing a call to mysql_query, that is p | ||||
receded by ```$_GET``` or ```$_POST``` (accessing external input), but the prece | ||||
ding 5 lines do not contain a call to an escape function: | ||||
```sift -x php mysql_query --preceded-within "5:_(GET|POST)" --not-preceded-with | ||||
in "5:escape"``` | ||||
Please go to [sift-tool.org](https://sift-tool.org) for more information. | Please go to [sift-tool.org](https://sift-tool.org) for more information. | |||
## Installation | ## Installation | |||
### Download Binaries | ### Download Binaries | |||
You can download binaries for the current version at https://sift-tool.org/downl oad. | You can download binaries for the current version at https://sift-tool.org/downl oad. | |||
sift is available for Linux, Windows, OS X and *BSD. | sift is available for Linux, Windows, OS X and *BSD. | |||
### Install from Package Repositories | ### Install from Package Repositories | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 37 lines changed or added |