search for: dumpmessage

Displaying 3 results from an estimated 3 matches for "dumpmessage".

Did you mean: dm_message
2018 Nov 29
2
Best way of merging mbox files
When concatenating mbox files like described here https://xaizek.github.io/2013-03-30/merge-mbox-mailboxes/. You will end up with an 'unsorted' mbox file. Is this going to be a problem esspecially when they are large >2GB's and new emails will be written to it? The email client nicely sorts the message from folder A "foldera 5 last" as last, but of course the mbox is
2018 Nov 29
0
Best way of merging mbox files
...,l-4,1)=="-")? substr(header,l-25,20) : substr(header,l-19,20) spec = substr(spec,17,4) " " ym[substr(spec,1,3)] substr(spec,4,3) \ " " substr(spec,8,2) " " substr(spec,11,2) " " substr(spec,14,2) return int(mktime(spec)) } function DumpMessage(i) { if (header[i]!="") { printf("%s\n",header[i]) } while ((getline x <mbox[i])>0) { if (x~/^From .*[0-9][0-9][0-9][0-9]$/) { stamp[i] = Tstamp(x) header[i] = x printf("%s => [%d] %d\n",header[i],i,stamp[i]) >"/dev/stde...
2018 Nov 29
1
Best way of merging mbox files
...r(header,l-25,20) : substr(header,l-19,20) > spec = substr(spec,17,4) " " ym[substr(spec,1,3)] substr(spec,4,3) \ > " " substr(spec,8,2) " " substr(spec,11,2) " " substr(spec,14,2) > return int(mktime(spec)) > > } > > function DumpMessage(i) { > if (header[i]!="") { > printf("%s\n",header[i]) > } > while ((getline x <mbox[i])>0) { > if (x~/^From .*[0-9][0-9][0-9][0-9]$/) { > stamp[i] = Tstamp(x) > header[i] = x > printf("%s => [%d] %d\n",header[i]...