Jerrad wrote:
Try feeding mhstore from a file instead of a message, something like:
Alas, mhstore -file did not solve the problem;
Though it looks like mhstore causes the problem? I don't
understand why -file wouldn't solve it.
I seem to have found a workaround that works, even with the call to
mhstore, although it still gives inconsistent ouput like above;
with "pseq: 30" instead of "cur:" The workaround is including the
sequence itself in the messages to add to the sequence i.e;
mark unseen $MSG -add -seq unseen -nozero
I don't see why that would be necessary.
Another issue, this for loop won't work on filenames that
contain spaces, etc.:
for PART in `mhstore $MSG 2>&1 | awk \
'match($0,/as file .+/){print substr($0,RSTART+8,RLENGTH)}'`; do
David
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers