Leo Charre > News-Pan-1.02 > panfind

Download:
News-Pan-1.02.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

panfind - search pan cache for articles in newsgroups

OPTIONS ^

   -b only search binaries newsgroups 
   -o only print the matching newsgroups and results counts, not the entire subject matches
   -h help
   -v print version and exit
   -d debug

PARAMETERS ^

   -a abs path to server dir holding pan newsgroup cache files
   
   -s positive match 
   -e positive match, exact   
   -S negative match
   -E negative match, exact   
   
   -n newsgroup match string

EXAMPLE USAGE ^

find 'cookie' in all newsgroups matching cooking

   panfind -a ~/.pan/astraweb -s 'cookie' -n 'cooking'

If you leave out -n, searches all newsgroups.

find 'boeing 747' in all newsgroups, only show matchine groups and match count:

   panfind  -a ~/.pan/astraweb -s 'boeing 747' -o

match exactly, show subjects:

   panfind  -a ~/.pan/astraweb -e 'Boeing 747'

SETTING DEFAULT SERVER DIR ^

If you know you will aways be using /home/yourself/.pan/astraweb Then set it in the script.

AUTHOR ^

Leo Charre leocharre at cpan dot org

SEE ALSO ^

News::Pan

syntax highlighting: