[comp.unix.wizards] Digestify command

jmccoy@ARDEC.arpa (01/28/87)

Ladies/Gentlemen
There is a command under MSG on ULTRIX v1.2 called "Undigestify".  
Undigestify works nicely to undigest such things as the unix-wizards digest.

Problem: I can find no corresponding command "Digestify".  Obviously, I can
horse around and get a bunch of messages into a file and delete the lines with
"ctrl a" and insert a string of thirty hyphens between messages, but that 
seems less than elegant.

What am I missing ?

Jim McCoy

mrose@nrtc-gremlin.arpa (01/29/87)

If you are running MH, the command which splits a digest into its
component messages is called "burst".  The command which performs the
inverse operation is called "forw".  These are based on an rfc934 which
is designed to permit infinite levels of encapsulation.

/mtr

drears@ardec.arpa (01/29/87)

Jim:

-> = Jim Mccoy

->Ladies/Gentlemen
->There is a command under MSG on ULTRIX v1.2 called "Undigestify".  

     msg is part of the mmdf (multi-device memo distribution
facility) system.  It is a not part of ULTRIK but something we obtained
from BRL.  It is not the standard mail system. msg is the user interface 
of mmdf to allow people to read mail. 

->Undigestify works nicely to undigest such things as the unix-wizards digest.
->
->Problem: I can find no corresponding command "Digestify".  Obviously, I can
->horse around and get a bunch of messages into a file and delete the lines with
->"ctrl a" and insert a string of thirty hyphens between messages, but that 
->seems less than elegant.
->
   As a quick and dirty solution try the following.

  1) In the msg program use the put option to put these into a file.
  2) Using a text editor do a global replace on the CTRL A
     In VI  do  ->  1,$s/^A^A^A^A^A/---------------/g
     then do a global search on the subject line and pipe into the
     front of the file.
  3) Send the file


  I wrote a program do digest things a while ago.  I will try to
find it and I will send to you.

Dennis

mike@BRL.ARPA (01/30/87)

Digests are harder to create than to burst into pieces.

I have forwarded Jim the Shell, AWK, SED, and NROFF script
that I use to produce the Unix-Wizards and Info-Unix digests.

If anybody else is interested in this software I'll gladly
send it, however, it depends on using the MMDF "msg" mail reader
for some message sorting operations.
	-Mike

ken@rochester.UUCP (01/30/87)

I don't know about MSG but I used to generate digests using the
forw command of MH.

	Ken

rgoguen@MIKEY.BBN.COM (01/30/87)

If you site is running MH. read about the two command burst(1) and pack(1). 
these commands take a mailbox and creates a folders (a bunch of files) or 
the latter takes a bunch of files (messages) and creates 1 big file.
/rjg