NAME
news-search - command line newsgroup scanner.
SYNOPSIS
news-search max_p ngname [ngname...] [param=value...]
DESCRIPTION
This program scans for newsgroup articles from the command line. The following arguments are supported.
max_p, maxinum number of posts to search (not return).
ngname, newsgroup pattern to search. May have more than one newsgroups to search at once.
Subject=pattern, look in the Subject: line.
From=pattern, look for author in the From: line.
Body=pattern, look for pattern in article body.
The pattern can be any Perl regular expressions.
The above pattern match keyword can also be prefixed with 'No', e.g.,
NoSubject=pattern
to ignore messages if pattern found in the Subject: line.
EXAMPLES
news-search 30 tor.housing Subject='rent|sublet|room|bdr|house|apt|apartment|condo' NoSubject='sale|FS'
This search the default 'news' nntp server. Or, to specify an alternative one:
export NNTPSERVER=news.easysw.com
news-search 80 cups.general cups.bugs Body='die|break|broke'
AUTHOR
@Author: SUN, Tong <suntong at cpan.org>
@HomeURL: http://xpt.sourceforge.net/
COPYRIGHT
Copyright (c) 2003-2008 Tong SUN. All rights reserved.