From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.3 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ua1-x943.google.com (mail-ua1-x943.google.com [IPv6:2607:f8b0:4864:20::943]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 74ED41F462 for ; Mon, 10 Jun 2019 16:06:14 +0000 (UTC) Received: by mail-ua1-x943.google.com with SMTP id v18so3231785uad.12 for ; Mon, 10 Jun 2019 09:06:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=MTU6G62kI4W7V8bvt5TyO8mz0tV/eUDIq8niuspDNO4=; b=H7jgRCIWmRBT3DRtxsEl9N/U02VAz8RTYGMsJpFoe6+L+ho3ruEcWJ5G/Mo8xR55sm lQYSyRWFtoppUD/lVIbFhgpusk5/ZDUkBzzn7DaAPAiJfF1R9Nqn+D2HntNO7uEFbJ8Z KsX/UnkaHIXyhzrntwqH5fuuthqMo+/8QfM7E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=MTU6G62kI4W7V8bvt5TyO8mz0tV/eUDIq8niuspDNO4=; b=cEJFbV6uN7CpGid3f7sz7BNiPjnVKBHb+U68GaYqj0ssz0EGbaO7TmpWdXz9DEp0re 2KyjCEcPvm+BLSc+MZkjzYs5gjovB+1OHgR/K1SqbdZzkfbppxD5a3pg3TodxO3V6ns1 NhVlMX5Orvf2Ae7wD2dt202Yk/ZK2AKcWDcZM53Cp3M2wXzCgwDAxu2IQjXQL2x1XCBb Ssn17AP/ipwpQMZuAVlWm5oTM5b8/+d9YzCZFO3YD9Hjkne1P4k+bw224218FgKfoh/I EWdRLL+grdqit58nRMIy4YrE/6evMCfNOweEVXxed0ZGak/h+oxDJ0R5eAUkVaBu9J5n /zIQ== X-Gm-Message-State: APjAAAWaeUIQD9rSmIUWU695olYl6NDF8mn3jkbFaDUxxrkZc0FpKtav euhHIjztKo3YE2vwUm9Ad3BDldlQTkqWFQ== X-Google-Smtp-Source: APXvYqzTtZO3rXqEV9+4t1BydwxM+4nyJs4rLB6JEG3PHkFT0Cev81+RtD+YXFUTusKyJIxkXrdgZg== X-Received: by 2002:ab0:73d9:: with SMTP id m25mr1424921uaq.115.1560182773087; Mon, 10 Jun 2019 09:06:13 -0700 (PDT) Received: from chatter.i7.local (192-0-228-88.cpe.teksavvy.com. [192.0.228.88]) by smtp.gmail.com with ESMTPSA id o10sm2985282vsd.9.2019.06.10.09.06.11 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 10 Jun 2019 09:06:12 -0700 (PDT) Date: Mon, 10 Jun 2019 12:06:10 -0400 From: Konstantin Ryabitsev To: "Eric Wong (Contractor, The Linux Foundation)" Cc: meta@public-inbox.org Subject: Re: [PATCH 11/11] edit: new tool to perform edits Message-ID: <20190610160610.GB16418@chatter.i7.local> References: <20190609025147.24966-1-e@80x24.org> <20190609025147.24966-12-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: <20190609025147.24966-12-e@80x24.org> User-Agent: Mutt/1.11.4 (2019-03-13) List-Id: On Sun, Jun 09, 2019 at 02:51:47AM +0000, Eric Wong (Contractor, The Linux Foundation) wrote: >+public-inbox-edit - edit messages in a public inbox >+ >+=head1 SYNOPSIS >+ >+ public-inbox-edit -m MESSAGE-ID --all|INBOX_DIR >+ >+ public-inbox-edit -F RAW_FILE --all|INBOX_DIR [.. INBOX_DIR] A quick RFE that's beyond the scope of this work, but would be handy from the usability perspective -- pass a search term in case multiple messages need to be edited. E.g.: public-inbox-edit -s "johndoe@example.com" INBOX_DIR The way I see it working, that would: 1. find all matching messages and put them into an mbox file 2. fire off "mutt -f" to start the editing session 3. do a batch replace of all messages in the edited mbox file Best, -K