newsstar perl script performs these
For each newsrc file, the script looks for a corresponding newsfeeds file
(for INN or s-news) or outgoing directory (for sn) in
Newsfeeds files are flushed, and the referenced articles copied into the appropriate directory for the newsstar binary, with the upload filter applied. The feed file, usually generated by INN, contains one article reference per line. Newsstar is only interested in the first field in each line, which can either be a partial path to the article, or a storage token. The script automatically distinguishes between partial paths and tokens, taking appropriate action to locate the referenced file.
For sn, the processs is slightly simpler: the files just have to be
moved, processed from sn's
"wire format" into plain
text, and the upload filter applied.