Path: utzoo!utgpu!watserv1!ria!CS!wisdom From: wisdom@CS.UWindsor.Ca (CSS Newsletter) Newsgroups: comp.mail.elm Subject: Making a newsgroup into a folder Keywords: folder newsgroup extract elm vnews Message-ID: <339@schoenfinkel.CS.UWindsor.Ca> Date: 22 Jan 91 12:59:01 GMT Organization: School of Computer Science, Univ. of Windsor, Ontario, Canada Lines: 28 A simple query; what am I doing wrong? All I really want to be able to do (for example) is: cd /usr/spool/news/comp/mail/elm cat * >~/Mail/cm-elm elm -f =cm-elm And read Usenet groups THAT way! Sort by subject, and **poof**, who NEEDS trn! Unfortunately, when I do this, I get Folder is corrupt!! I can't read it!! However, if I (using Vnews) extract msgs out, then cat them together, every- thing works just fine. The only difference I can find is that, the msgs that DO work in folders, start with a FROM line, with no colon, but with the date appended to the line. So my simple question, to those of you with more awk and related skills out there is HOW? How do I stick this line in to the beginning of each msg? Or is there some OTHER way of getting around it? Am I gonna hafta write a C program to add one lousy line to every message and build the folder? (That's within my abilities; an AWK script/one-liner isn't). No, Perl isn't up and running here either. -- Pete Smith