pgegrep - A simple grep using PGE for matching
pgegrep [OPTIONS] PATTERN [FILE...]
pgegrep aims to be a small and easy to use program in replacement of the standard grep utility. Regex support is whatever PGE will allow. It searches through files line by line and tests if the given pattern matches.
print lines not matching PATTERN
print the version and exit
show this help and exit
recursively descend into directories
print a list of files that do not match PATTERN
print a list of files that do match PATTERN
treat binary files as text.
This uses a basic heuristic to discover if a file is binary or not. Files are read line by line, and it keeps processing "normally" until a control character is found, and then stops and goes onto the next file is that line matches.
print the line number for each match
print the filename for each match
To install Rakudo::Star, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rakudo::Star
CPAN shell
perl -MCPAN -e shell install Rakudo::Star
For more information on module installation, please visit the detailed CPAN module installation guide.