panfind - search pan cache for articles in newsgroups
-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
-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
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'
If you know you will aways be using /home/yourself/.pan/astraweb Then set it in the script.
Leo Charre leocharre at cpan dot org
News::Pan
To install News::Pan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm News::Pan
CPAN shell
perl -MCPAN -e shell install News::Pan
For more information on module installation, please visit the detailed CPAN module installation guide.