19 Apr
2002
19 Apr
'02
5:28 p.m.
"RJ" == Ron Jarrell <jarrell@vt.edu> writes:
RJ> I had the same thought when debugging the topic parser problem
RJ> - that it'd be nice to be able to pick through the message
RJ> without having to decode the pickle's wrappings.
RJ> Although rather than saving them as plaintext, I'd be just as
RJ> happy with an unpickle/repickle util for when I want to monkey
RJ> with a message. (if only to let me read it without swearing
RJ> at it...)
bin/dumpdb knows how to print out the plaintext representation of a .pck message file, so
% bin/dumpdb qfiles/in/...pck > msg.txt
ought to do the trick. The other direction is fairly easy if you don't mind not saving the message metadata file (.db). Use bin/inject, possibly with the -q option.
-Barry