From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16198 invoked from network); 2 Mar 2021 12:25:46 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 2 Mar 2021 12:25:46 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1614687946; b=jXFhoxNgPDuncTRo5w+ipC+eJfMwV4eyDIFSJnwHt75OXIUB815L23YUk3abmfdMjE5w9fwRvI B85cdWOFaOdJBPIXyrP7SbvB+63uWe26jjWB9mpcfcsmnGNO5YpEWA0bvlUsIx/xxQLDuIdj5L ab70YS9q6QyJ3wCizNsi0g4Ak7HhwXag1gwrAcBuygGl8zoRHz9fQUgEJ1oWQeU7b4PM/hrEA4 rbAwlw7BgyuVu65YiIqumWD1p8SfnduSrE8B5ZddibK4OlFwc5+itUDbNGQ+Tdr1X+DwGHrZ0v 6TaJxDdaCc3pA/M/66l51okGt3WrrLnOdSdTEtdi6h/CLA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-io1-f43.google.com) smtp.remote-ip=209.85.166.43; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1614687946; bh=S4T4tFEss/m0AAO1I2YZto5HbOrfH//25SWdzc9E104=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=tIMazeqjCX6SrOKk/Bdt46eQr+j0RMkG792bLc5G9vpaIP9wHCFQlFWBZoxB7t1a+Ra5dte8Oi JkgOBsKouHDYH6ATLEozYaKGf7ZMOGNOqNSAW0ujDGKoba9+tRqPJ4Fn1urO+63fG1MNjaXo8l mHoNHPZ9Lh5sNgxD6AJ/vHOSu1JuN7jbZh03+fTOn/iCcdJR3uMKKzgC5Zqae2H7u1dR3J+HGx HesjZhCbMPBhrStvZIEEHMEv/iQe+mcWcZHPNC4aouMidtCOHLStd9MlwBECC6J4WdJ1+QYkKx 585jOA8waxwWBUQ9EZYBHGJBFRnyMIWCogvl1g+Tww8iDg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=S4T4tFEss/m0AAO1I2YZto5HbOrfH//25SWdzc9E104=; b=grpG8GnFhfYCwEDneyuGDFNs9j j9gkQ+BY6Pg2vszvXD60ETFseFgodUsBIvVNuayF3DuTjD3LzptbE0QOpG7EWyonAhczE94S5nLGj 8XDXys+6MLcF8LQXhVZLkOVFIWAVLt59uLZGiS2XsaxPJvzyarCwOZ2epc4+gHLzDKAZ6Rr6D9C1M d9HGGW56/iNMxtUYZaeoCVdk/MU5xQ/Jf5iyi9UFLNUzCRtvC7rIe1kguKrk93zrrQ89q6gKwTqnD RRJz78TWKzg34L19u7zlK7yM5Rt4dliYQd83/SNxxwTh00SP301Byn1DQym0lZZNnSrBnf7tDKQsA PUkaIWgA==; Received: from authenticated user by zero.zsh.org with local id 1lH45x-0005wY-Jj; Tue, 02 Mar 2021 12:25:45 +0000 Authentication-Results: zsh.org; iprev=pass (mail-io1-f43.google.com) smtp.remote-ip=209.85.166.43; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-io1-f43.google.com ([209.85.166.43]:41746) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lH45O-0005Zn-EL; Tue, 02 Mar 2021 12:25:11 +0000 Received: by mail-io1-f43.google.com with SMTP id z13so21457327iox.8 for ; Tue, 02 Mar 2021 04:25:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=S4T4tFEss/m0AAO1I2YZto5HbOrfH//25SWdzc9E104=; b=t8vWz4U4EX4zkJTlcdNyq8TTKgx+NWyiMXLaIzxUZgftUfwkkd2ZTqieQbTix/HN6T zTm2BZNpjr60PKscc+PkLMARO41iLUINnjFTMgOIme0qVJ3tGn3Qw7Rupe79g/nL/b2Y a+uzVtD9YiONoJH3qTCj+M2NfEHxGpHO+sIaQn0ff7qpfeHuuVT+cg9ym4CYouPHkWFM 51Q1X+eglEy+w+/T6C0wpgWq8rf5/R7nCb8Qm4u0R8AWGQ1ShO2a5E5a1Y12ATXWPVj8 gly2Mx9MCiNNCdWRWzisdiyo2hT+VLTRqLrF3OMSsiAYbFo2Ur1YRMWaRVIYGp8+BO84 2ykw== 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:cc; bh=S4T4tFEss/m0AAO1I2YZto5HbOrfH//25SWdzc9E104=; b=at9EiMH/78Z0OhqzEwZ1TJEj8rFydBGtos5FktvKfp6jzpZxWa+3f2KUKVQQE9fr5H ZeKBOGJdKTTrNljZjLWzJ6fg3y0jBsDrdQIpottXV1bmjg2WsTtt27cQZyfYNyowhMOY ipwuW1VsNrqS0mC3gFOg/YYborBJ1BLsS35ufW44XdVjNJhoHf3/y2EUF/giPXaRRXyv 0bJZeOG4dCHJhTjqkzqX9sdk5C6kXVI70Yx7FAzI8QZtplLm8FBMuutp7I8RFygaPiNn gzKTFcLrZmbzdP0Rm3cP6IxBfAYJ2YWf1AkKg9lNTX67+vMm9FOt5SQaWsqPcXK5s6BG Cq8w== X-Gm-Message-State: AOAM5316sEc8DjLzsk/GQdf3v9Mo5xMR0yT1D4SW3E+d4qpEs/lxlt6J EBuhE3jZ0nQ9MWYKn3bCl6j8e4Az6XxS9v7pbEbGbz2+TR4= X-Google-Smtp-Source: ABdhPJwU99s25ttsEkn587g3wNmDCnw8xS9/DgZnryyccNgtUBuskHH/SdCbvnY5d1GvMPzowzTJCR47W7sJYC6Lfhc= X-Received: by 2002:a6b:760d:: with SMTP id g13mr17954952iom.84.1614687909055; Tue, 02 Mar 2021 04:25:09 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Pier Paolo Grassi Date: Tue, 2 Mar 2021 13:24:32 +0100 Message-ID: Subject: Re: quonting and globbing To: Mikael Magnusson Cc: Zsh-Users List Content-Type: multipart/alternative; boundary="0000000000003e11d605bc8cd3ca" X-Seq: 26562 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: --0000000000003e11d605bc8cd3ca Content-Type: text/plain; charset="UTF-8" it seems I do, missed that. thanks! Pier Paolo Grassi Il giorno mar 2 mar 2021 alle ore 12:58 Mikael Magnusson ha scritto: > On 3/2/21, Pier Paolo Grassi wrote: > > Hello, given this test code: > > > > test(){ > > setopt -L extended_glob > > local glob=${(q)1}'.[0-9]##' > > touch $1.1 $1.2 > > echo -E - $~glob > > } > > > >> test tmp > > tmp.1 tmp.2 > > > >> test {tmp} > > test:4: no matches found: \{tmp\}.[0-9]## > > > > test '' > > .1 .2 > > > > It seems the quoting of the {} makes the expansion fail (on zsh 5.1.1) > > is there any way I can quote the file name according to the glob > expansion > > rules? > > thanks > > I think you want (b), not (q). > > -- > Mikael Magnusson > --0000000000003e11d605bc8cd3ca Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
it seems I do, missed that. thanks!

=
Pier Paolo Grassi

<= br> --0000000000003e11d605bc8cd3ca--