How to extract things from NETNEWS (RRN)
In 'rn', if you are reading a particular newsgroup, you can
hit the "=" key to get a subject listing of all the articles.
Usually you'll get output like this:
805 frankel curves
806 looking for fractal landscape GIFs
807 FTP site for Fractals?
808 landscape1 (1/3)
809 Re: looking for fractal landscape GIFs
810 landscape1 (2/3)
811 landscape1 (3/3)
If you wanted to get the file "landscape1", you could use the
"e"xtract function in 'rrn':
End of article 805 (of 810)--what next? [npq] 808,810-811:e/usr/tmp:j
^^^^^^^^^^^^^^^^^^^^^^^
this is what I typed in
What I typed in means "For articles 808 and 810-811 (in that order),
extract the contents to the directory /usr/tmp, and then junk them".
Let's look at it more closely:
808,810-811:e/usr/tmp:j
^^^^^^^^^^^ ^^^^^^^^^ ^
/ | \
this specifies which | this means junk the articles after we're
articles to work on | done doing whatever we want with them.
The article numbers \
can be separated by \
commas, or can be \
specified by a range, this is an operation on the articles. The
like 5-50. Ranges only first "e" means that 'rrn' should extract the
increment positively. contents of the articles. The "/usr/tmp" spec-
ifies the directory the extracted contents will
go to. 'rrn' has intelligent extraction methods
for files which are uuencoded and split, and
recognizes shar files and other classes of files.
There is more information available on the capabilities of 'rrn' if you type
"h" (for "h"elp) in 'rrn'. You'll get different help information, depending
on whether you type this information at the group level, or at the article
level, or while you are in the midst of viewing an article.
|