Aunc.3171
net.news.b
utcsrgv!utzoo!decvax!duke!unc!smb
Wed Mar 17 13:31:42 1982
retrieving articles by article-id
Here's a handy-dandy shell file to read news items by article-id:

       SPOOL=/usr/spool/netnews
       t=/tmp/fn$$
       trap "rm -f $t; exit" 0 1 2 3
       for i in $*
       do
               echo "/^$i      /s+^$i  .*      \([^    ]*\)[   ].*+$SPOOL/\1+p" >>$t
       done
       x=`sed -n -f $t /usr/lib/netnews/history`
       if [ -z "$x" ]
       then
               exit
       fi
       ${PAGER=more} $x

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.