From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2AlIEjdydWFdlQAAgWs5BA (envelope-from ) for ; Sun, 24 Oct 2021 16:48:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uG/FDTdydWGuMgAAbx9fmQ (envelope-from ) for ; Sun, 24 Oct 2021 14:48:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 777B02FBF2 for ; Sun, 24 Oct 2021 16:48:22 +0200 (CEST) Received: from localhost ([::1]:48468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meenN-0005eX-I2 for larch@yhetil.org; Sun, 24 Oct 2021 10:48:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meen4-0005eI-W1 for guix-patches@gnu.org; Sun, 24 Oct 2021 10:48:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57212) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meen4-0001p3-Mh for guix-patches@gnu.org; Sun, 24 Oct 2021 10:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1meen4-000379-HN for guix-patches@gnu.org; Sun, 24 Oct 2021 10:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51373] [PATCH] etc: completion: Filter gratuitous spaces from available packages. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Oct 2021 14:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51373 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice Cc: 51373@debbugs.gnu.org Received: via spool by 51373-submit@debbugs.gnu.org id=B51373.163508685611842 (code B ref 51373); Sun, 24 Oct 2021 14:48:02 +0000 Received: (at 51373) by debbugs.gnu.org; 24 Oct 2021 14:47:36 +0000 Received: from localhost ([127.0.0.1]:40524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meemd-00034u-P1 for submit@debbugs.gnu.org; Sun, 24 Oct 2021 10:47:36 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:41830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meemc-00034B-BQ for 51373@debbugs.gnu.org; Sun, 24 Oct 2021 10:47:34 -0400 Received: by mail-wr1-f68.google.com with SMTP id d3so3594364wrh.8 for <51373@debbugs.gnu.org>; Sun, 24 Oct 2021 07:47:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=TCH2S3iZarZ6z2rVyl0/zpvNQWfHTnu+VejT7fz38tc=; b=PaYdNv7ZOerE/OkqgMmfa4+zF/P5/top9RB8SlyJxW6b4oBnO/jA6HyTbJMQb+Bdtr 8KME7ALShtrulKXCmC0j2gViTUWeTia2f/qkDeeQ1iGhMSy0767Stvy4mSkc4exuQhmB h7ofrH7h94Xpfu2lKHZYqfwq704tRk3KAFBBjzYTQnE5QhnvpzzTNQP0pMK5ZoZZlU5C TU1/RjFq1QCKx0hXVwA4IBKK+zqsWxapxdSZL6Kl+eTCUG0gqxmFxpvvB1PABWdX7LRI y+Z6VwSwFDY/VNh3yEmnTMO9e3yM66x+FSCp2EPOH96Qmz4SQWfxw5+P1F9uiaZinT79 vaTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=TCH2S3iZarZ6z2rVyl0/zpvNQWfHTnu+VejT7fz38tc=; b=j8UIUJsVMhKows8fu1rH/59MtG3Jt1rcrYEKlJGygjh5VvtiZMvQTIW6aHGkMvE2Be +TC8ThmutO3D9baA709V4Z9D12/TqVq3gct+LErBz7vCmcbdsqeWxbHnLiAWhBTkgjQe Cx3NQ0ynkydIJ4ODPi25wCroUNoVxtw8sYkyi7WLoWjzyxtiMg5b4Stv2/hIbrInT91Z ie364OcWGiRK+O3yzmwfiWXH9cPzS8hdKBNz/GU1CbGRoweaJkvsLzCKBm5Hx0rfUbqH AyBIBP5O3fgAeRV2j4BKH3Wpnx3/2LV9XTfxtlbHqpTTlEUmuPH9wuuTwPe9FZJ1Qb0T 4BQg== X-Gm-Message-State: AOAM533bdNuVY/YCVOka3iYK1eLizZIgtGVillHFYAXy5Dv5z4NxlVoe Fwcb1TYk9bLEG1ZRkgfXv8M= X-Google-Smtp-Source: ABdhPJzWsSDpU6Ra9xjgksLNxW08DNYRUKsfx6ijqVGGPZoU7tDgYGqbQgpD+zdFxsQ1vxw1ALwu+g== X-Received: by 2002:a05:6000:1283:: with SMTP id f3mr16347640wrx.128.1635086848388; Sun, 24 Oct 2021 07:47:28 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id a134sm5631543wmd.9.2021.10.24.07.47.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Oct 2021 07:47:27 -0700 (PDT) Message-ID: <344a41f281c0abaec9533f0b683c9b3bde16ffa9.camel@gmail.com> From: Liliana Marie Prikler Date: Sun, 24 Oct 2021 16:47:26 +0200 In-Reply-To: <87wnm2ikxm.fsf@nckx> References: <87zgqyilg5.fsf@nckx> <87wnm2ikxm.fsf@nckx> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635086903; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=TCH2S3iZarZ6z2rVyl0/zpvNQWfHTnu+VejT7fz38tc=; b=UdLf4RdCrgL7r22iaisqUkQSm1Si2UIxpc1M+iW+vMaM2qCP3KZjQHCHyP/N6ZHi8dwyc3 WEKJF5OicchBvvYByXssSdtkDQd1VcYili3td9VVI2dDp3XH8mAAkgQhTpZLsl/yo6bQif qM10pWf8/AXPtelDC9Ya1xvn8Fv+t0Mr3Bm89XyWQPnuM8sj+K10MW3/3d/sECh0ituZas 6KlL8ONpjBXaw8RnTrt9ase5YIQc6hHD5ukejoHHdaA81RWBe/b6Zs7T4+bCO6FCDh0T/g 5PfYHx+xzHubon4LJ0N1Y8pGmMfDwpW+hs78NI1AOmdfl1anl0/BYEUPW/gcYw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635086903; a=rsa-sha256; cv=none; b=ekMmqiH//mK7OqOX0zSMRtpPiUgYuRjY0FZxM5GN5qZs97P5mzxowtyTBgQ1Jqam9U++Cs 1mGSqEyQVMWK8nSdahy+UnMwmt88KODTGYUZy2uIpVCfoWzQs9DJvElSpSCjW9ButK9IZv XR6hsBYSoJ84ttuC1/m/G7AakmSCooT5vvwfS6HuGPNU3g6RxSaWWk++IejVDlhL9JbLtR Za+KQrCQumvtBH3zJnCVimZQM67q7CvWHIq9WD+6qKvs5537Cee+4doGqf7w6A/5nw2TcR ycFKV4Nc/BJqCyVslziTCgDdoKxMJwyXRi8NTr4Fis1pO40woh2KYDkvkJk9eA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=PaYdNv7Z; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=PaYdNv7Z; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 777B02FBF2 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: SwwjHb4SWLuL Am Sonntag, den 24.10.2021, 15:57 +0200 schrieb Tobias Geerinckx-Rice: > Tobias Geerinckx-Rice via Guix-patches via 写道: > > Does ZSH support something like bash's "${foo[@]// /}"" to avoid > > spawning sed altogether? > > It *seems* equivalent, which is as much as I dare say of anything > ZSH. Haha, yeah, zsh can be weird at times. I typically don't play around with such fancy syntax all that much so on the top of my head I wouldn't even know how to rewrite my patch using that. However, if it helps not spawning a process like once during compinit, then go ahead and use your version :) Thanks, Liliana