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: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 980111F934 for ; Wed, 28 Apr 2021 04:51:07 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/3] doc: lei: use /tmp for search results pathnames Date: Wed, 28 Apr 2021 04:51:05 +0000 Message-Id: <20210428045107.9699-2-e@80x24.org> In-Reply-To: <20210428045107.9699-1-e@80x24.org> References: <20210428045107.9699-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: This drives the point home about results being volatile and discardable. --- Documentation/lei-overview.pod | 4 ++-- Documentation/lei-q.pod | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/lei-overview.pod b/Documentation/lei-overview.pod index 70dbf2b5..6b5fa721 100644 --- a/Documentation/lei-overview.pod +++ b/Documentation/lei-overview.pod @@ -82,7 +82,7 @@ Search for messages whose subject includes "lei" and "skeleton". Do the same, but also report unmatched messages that are in the same thread as a matched message. -=item $ lei q -t -o mdir --mua=mutt s:lei s:skeleton +=item $ lei q -t -o /tmp/mdir --mua=mutt s:lei s:skeleton Write results to a Maildir at "mdir". Mutt will be invoked to open mfolder (C) while results are being fetched @@ -92,7 +92,7 @@ and written. Search for all flagged messages that also have a "next" label. -=item $ lei p2q HEAD | lei q --stdin -tt -o mdir +=item $ lei p2q HEAD | lei q --stdin -tt -o /tmp/mdir Search for messages that have post-image git blob IDs that match those of the current repository's HEAD commit, writing them to the Maildir diff --git a/Documentation/lei-q.pod b/Documentation/lei-q.pod index a84fc440..b938746a 100644 --- a/Documentation/lei-q.pod +++ b/Documentation/lei-q.pod @@ -31,9 +31,9 @@ Read search terms from stdin. Warning: this clobbers and overwrites the output destination unless L is specified. -Destination for results (e.g., C, +Destination for results (e.g., C, C, or -C). The prefix may be a supported protocol: +C). The prefix may be a supported protocol: C or C. URLs requiring authentication must use L and/or L to fill in the username and password.