Hi!

I wish to contribute a script to CPAN...

Following outline given in http://www.perl.com/CPAN-local/modules/04pause.html:

Name:  Alex Davies
Email: [EMAIL PROTECTED]
No-home-page

preferred CPAN user-ID: A-DAVIES

Description of planned contribution:
  peg. (yet another) perl grep. But which runs (by default) from expressions rather
  than merely regular expression patterns, and which supports almost all of
  the usual grep options and the GNU grep extensions, plus some neat new ones...

concise description:  script :: Search   (Current CPAN owner is Kurt Starsinic)

The script has not been discussed in public :( 
However, a similar script, called "pgrep" written by Steffen Beyer is on CPAN,
but which has fewer options and is more like grep(1) in that it runs only from
regular expression patterns.

Synopsis:

Usage: peg [<options>|-help] <perlexpr> [<files>]


Example usage:

peg -l '/\bneedle\b/i or /\bpin\b/i' haystack
peg -lwio needle pin -- haystack

The latter demonstrates two features: (1) alphanumeric <perlexpr>'s are
assumed to be regular expression patterns and (2) peg's -o option which
allows a list of <perlexpr>'s (similar(ish) to GNU grep's -e option)


Best regards,
alex.

=====================================================================
| Alex Davies                  _        Email : [EMAIL PROTECTED]  |
| Texas Instruments Ltd       | '-.     MSG   : AJFD                |
| 800 Pavilion Drive         \,  _}     Tel   : +44 (1604) 663450   |
| Northampton, NN4 7YL         \(       Fax   : +44 (1604) 663456   |
| England                                                           |
=====================================================================

Reply via email to