faqgrep - perl script to search perlfaqs
faqgrep [-f] [-or] [keywords...]
faqgrep sort hash
faqgrep -or sort hash
faqgrep -f sort array
This script takes keywords as arguments and searches through the
perlfaqs printing on STDOUT the questions (and optionally the
answers) which contain the keywords.
- -or
-
By default, keywords are 'ANDed' together to find questions
which contain ALL of the keywords. Using the -or option
'ORs' together the keywords to find questions which contain ANY
of the keywords.
- -f
-
By default only the matching questions are printed. Using this
option causes the full entry (answer) of all matching questions
to be printed. This can cause a lot of output unless the search
was restricted. It is recommended that you first search
for just one or two keywords and see the resulting matches and
then repeat the search using -f and additional keywords to
restrict output to just those entries you wish to see.
Andrew L. Johnson
Copyright 1997-1998 Andrew L Johnson.
This is free software and you may redistribute it and/or
modify it under the same terms as Perl itself.