From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 91618c0c for ; Wed, 21 Aug 2019 15:44:51 +0000 (UTC) Received: (qmail 24314 invoked by alias); 21 Aug 2019 15:44:43 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24172 Received: (qmail 15696 invoked by uid 1010); 21 Aug 2019 15:44:43 -0000 X-Qmail-Scanner-Diagnostics: from mail-lf1-f45.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25545. spamassassin: 3.4.2. Clear:RC:0(209.85.167.45):SA:0(-1.9/5.0):. Processed in 1.7136 secs); 21 Aug 2019 15:44:43 -0000 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.167.45 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Kh0kJmb6GVgYDGtDkA9EIB1QkjQVD3daClOyfnPv8NI=; b=GuXde9pANPN/ksxgvb7Wg+p7qiuMWF4izpkPdZUqx+EyE7CmkmAgs5gAQeGw6aWoB3 SeOeTOkdnD5V+0iAbXnJD7YEuLLqBkT9OmHXzS0f7ytBMxrHSKDBopWevnLgniw7a1g6 iahcHepoyDioTi+Lp3GAghQtbytRBf+vGkjJtM+KOrq13BaIJCKfMKchssnJpYCVRHHh XnlZ01iUNufb3N6UgcZV2TWp79TQZonTGYps7eBbxGL7TLIXmQE9qN1Fndav12hcDtCV qWOwaIeWAh4VWFrwhqvXpnImhn9HfpRU/NATKMRXJf6Ji10fCMQgKPGZZx/TWQnAITWJ lTKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Kh0kJmb6GVgYDGtDkA9EIB1QkjQVD3daClOyfnPv8NI=; b=pHW+qcyXh9tiXQpqQeodrsvCPA+b0FunTcAmEXg2cpE4yKtT6ujDadbg7czcoTz0zV GDaWDcKp+8KHVd5k6qkvyYYxKz+Kib3Zik8Sn3QWrhwS41ytNrKeOV2QBp8YfUI1zgYY 0JSgZMAG9t7fBOst5kltLRt28G7b+t8D8YmM0V4hlTzMDrb/yUkw4L2nN+s6HKXpPOEB FpSKIdqv/6TXQIRr/drMAQrD/Ho0esxuX5ae1uhznW7jnaGyVQuRuOKXLNmgrSCK9Nla 9ByTBJtrFoNGCQLLfGgJMJ+FOlYLsIpfQPhoeOavcHYBGssURNCHu9+zx//YiXvthiQB ukBQ== X-Gm-Message-State: APjAAAVTX1z5QZ9P72ckftNqWCNL4djTQ/FGWigVeMfo5pCOwNc8f8hm hpqhIGSDj/Y3tovOdsvSKix8T15zljOV0mSG2HRzdcDZdac= X-Google-Smtp-Source: APXvYqxXCSJu1PYakkc+x+QIMuxMBN6kQ0bbYTN/TzciazV/mFzM9rkSPAAPf2hXvLYIl5d9pmNyWYNT9hjMNNbY7HY= X-Received: by 2002:ac2:428d:: with SMTP id m13mr18572761lfh.52.1566402246509; Wed, 21 Aug 2019 08:44:06 -0700 (PDT) MIME-Version: 1.0 References: <918ED85F-9DE5-4365-B962-45AD4AADDF46__5329.09398186661$1566393766$gmane$org@icloud.com> <20190821151752.ftwx7demdwsnxjtu@chaz.gmail.com> In-Reply-To: <20190821151752.ftwx7demdwsnxjtu@chaz.gmail.com> From: Bart Schaefer Date: Wed, 21 Aug 2019 08:43:55 -0700 Message-ID: Subject: Re: Get the result of the last glob To: Zsh Users Content-Type: text/plain; charset="UTF-8" On Wed, Aug 21, 2019 at 8:18 AM Stephane Chazelas wrote: > > 2019-08-21 17:51:11 +0430, Aryn Starr: > > Is there a way to get the result of the last glob? In addition to zmv, you might also look at Functions/Zle/keeper in the distribution. It's set up to work with some ZLE key bindings, but it also can be used standalone. % source $^fpath/keeper(N[1]) % keep * % for k in $kept; ebook-convert $k $k.epub Or % find . -name \*.mobi | keep etc.