PHP Classes

Grep Simulator: Search for text in files like the Unix grep tool

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 36%Total: 1,297 All time: 2,977 This week: 104Up
Version License Categories
grep 1.0.0BSD LicensePHP 5, Files and Folders, Text proces...
Description 

Author

This class can be used to search for text within files like the Unix grep utility.

The class can traverse a directory recursively and read files with given file name extensions to find the text to be searched.

It may also return the number of times that the search text string was found in a file.

Picture of Er. Rochak Chauhan
  Performance   Level  
Name: Er. Rochak Chauhan is available for providing paid consulting. Contact Er. Rochak Chauhan .
Classes: 54 packages by
Country: India India
Age: 46
All time rank: 21 in India India
Week rank: 41 Down2 in India India Down
Innovation award
Innovation award
Nominee: 15x

Winner: 4x

Screenshots (1)  
  • GrepScreenshot
  Files folder image Files (3)  
File Role Description
Plain text file GrepSimulator.inc.php Class Class to manipulate functions to simulate UNIX grep command
Accessible without login Plain text file example.php Example Main file to simulate UNIX grep command

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,297
This week:0
All time:2,977
This week:104Up
User Ratings User Comments (2)
 All time
Utility:50%StarStarStar
Consistency:54%StarStarStar
Documentation:-
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:36%StarStar
Rank:4064