"be consistent" | |
PerlMonks |
Re: Paragraph grep: request for testing, comments and feedbacksby siberia-man (Friar) |
on Nov 27, 2017 at 00:09 UTC ( [id://1204300]=note: print w/replies, xml ) | Need Help?? |
In continuation of this thread I am happy to say that I improved and extended the script. The new options --file=FILE, --or and --and are shipped with new version. In accordance of the script description they work as follows: -f FILE, --file=FILE Obtain patterns from FILE, one per line. -A, --and, -O, --or These options specify whether multiple search patterns specified by the -e options should be logically ANDed together or logically ORed together. If not specified, the patterns are assumed logically ORed. These options can be used to simplify the commands searching for matches to multiple patterns. More than one of them can be specified but the only last pattern has affect. The following example shows how the combining option simplifies usage. The resulting output will consist of the paragraphs matching both PATTERN1 and PATTERN2. Welcome for meditations, Monks :)
In Section
Meditations
|
|