ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Eugene Prokopiev" <enp@altlinux.org>
To: shigorin@gmail.com,
	"ALT Linux Community general discussions"
	<community@lists.altlinux.org>
Subject: Re: [Comm] Удалить копии из mbox
Date: Wed, 2 Apr 2008 13:36:38 +0400
Message-ID: <f7a739430804020236y4ee8fb27i22a3ce80125f439c@mail.gmail.com> (raw)
In-Reply-To: <20080402091059.GA13537@osdn.org.ua>

>  > Скажите, а есть простые средства для удаления дубликатов
>  > (критерий - совпадение даты отправки и темы сообщения) из mbox,
>  > или садиться писать на perl/python?
>
>
> formail
>
>  --- ~/.procmailrc snippet (c) ab@
>  # фильтруем дупы
>  :0 Whc: msgid.lock
>  | formail -D 65536 msgid.cache
>
>  :0 a:
>  duplicates

procmail поднимать не стал, сделал

$ cat mbox.0 | formail -D 65536 msgid.cache -s > mbox.1

размер mbox.1 оказался немного меньше mbox.0, но сообщения с
одинковыми Message-ID остались :(

ох, да он еще и поуродовал этот mbox - заголовки от одного сообщения,
содержимое от другого ...

-- 
С уважением,
Прокопьев Евгений

  reply	other threads:[~2008-04-02  9:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-02  9:07 Eugene Prokopiev
2008-04-02  9:10 ` Michael Shigorin
2008-04-02  9:36   ` Eugene Prokopiev [this message]
2008-04-02 10:39     ` Michael Shigorin
2008-04-02 11:28       ` Eugene Prokopiev
2008-04-02 11:37         ` Serge
2008-04-02 11:54           ` Eugene Prokopiev
2008-04-02 12:13         ` Vitaly Ostanin
2008-04-02 13:13           ` Eugene Prokopiev
2008-04-02 13:35         ` [Comm] mutt D~= works on threaded mbox only (was: Удалить копии из mbox) Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7a739430804020236y4ee8fb27i22a3ce80125f439c@mail.gmail.com \
    --to=enp@altlinux.org \
    --cc=community@lists.altlinux.org \
    --cc=shigorin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git