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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29985 invoked from network); 5 Aug 2021 23:37:00 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 5 Aug 2021 23:37:00 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1628206620; b=WPWwb+yI5gi26kKdH3Rdu1Qbz51hUlRrDYGxo9U2ku27MAC0lbYvMtGl08+8tsSodEPKRbwni2 i38YV9AbxSRtdT77iRNUA8RyvUgVGosbvFowYX3Ev4pvGwNny+TKZqzxhwywpAqgYO9Bpfzbq5 1yB6h+DZmMum7AGgSKptGlLNmI2cA1kGZa8+xBdv4arUyQNc58ugOtfp0PrRG8Kv0uIT0MeMo4 gU72L3nEflBYO11jeFE3avCj6uJQ31vCYiaOXbn0SZT+AtXSyjD89/wk+w+fE3sD7Lo/62Am8G Q8t5VccRn89u8Hv/ZMX43+i2cAYqJlS99oA+9ORsTMLhdw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yb1-f179.google.com) smtp.remote-ip=209.85.219.179; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1628206620; bh=ins/wMcY7E8oGlo3ZLsxE8nvYT/2WE/kkXXoSLYz5yU=; 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=jkxdJk6OeOgHafoA2C6syOOgbMv4KezlBcjXVdclwiEiojgSSucPP+8JeGShLAOLADgOJtWutk OgZgPZIAswiQ9HD00MA0v6QQHopvNE8XGBDRoVcgDlw+ptq+sCEXdrbfoem3oy4O26hyVQpzqI iX/sRchm5P3qEEEGgWyvMpg4iKKNhlNREq9J8WQGU4dnV8fgvWN9Bfl7tOcSbDKCJ8/ZldneSW 4M2T1k7vI/UCY6EJbpcGazDoIch8Rt1D0eKlFHL+cRPfPyV24P5HICm2mEXFcKrlpOKIPINU4l 8q82oxCCe8R1sl6uxB29SXHdbgATz2W++Yspzj0bpJLYKg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; 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=P1HU5SyD2f8iTQENfZmDwisqhWCbNhALiuhjU4dTH9I=; b=AtpvnX8JqX6TziHIbi9pTv9yQ+ dGDBSbifmyL8/rqAIK0CbFebYGuZvlyprC+Fd+Yfbb7H4D6NsebBxFQOTGmbqhTfgILKC8KwSJ5++ +u1mnwF64fXHie2ARFTv4gp/0CtwVBF0DXcrkVrmBIw98nXCpZd3vFjLOvZ0O+s5BBtSWH4vsH3L7 QaayZMz8QHqygRTlW2w4FPhHui70JeUE860QAyE5XfmgaogB/8yCTIixKcbImy/SBrUuRVja+zn7W KOX66FufOztCGe9gJRd+D+OZ5Kbw8fzokCdMJFTbll3U7dSSORrBwXwoDbmMMOdJt74kUcw85aaC4 wOgmEZ8w==; Received: from authenticated user by zero.zsh.org with local id 1mBmv4-00026p-1R; Thu, 05 Aug 2021 23:36:58 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yb1-f179.google.com) smtp.remote-ip=209.85.219.179; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-yb1-f179.google.com ([209.85.219.179]:46999) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mBmuU-0001oJ-IU; Thu, 05 Aug 2021 23:36:23 +0000 Received: by mail-yb1-f179.google.com with SMTP id k65so11820356yba.13 for ; Thu, 05 Aug 2021 16:36:22 -0700 (PDT) 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 :cc; bh=P1HU5SyD2f8iTQENfZmDwisqhWCbNhALiuhjU4dTH9I=; b=Bz3kRwMgWIE2rIgzTRGdqgC/ui+o+h+LYikqUcwUQe2D0CPIMTtag0Oh3gc+3jA97K qOsKCHEG1tP57lfph/26/F1yEe9eJVTU0nWjEFYm1ifV11BrEH6DzlfpTwPCEqMALBuN FaCCq/8+TRUV8XGCxZ0pE0WXoDz/mEgQqA6CvW3xeyfwvZWdb93XZecniieVhIGmtE1b QliyZfIrUqn0GgUEHb1q2c2/VTNjUIuIXvFIC1hCbmfTldNQC0kaRRRl6cDsKGgm3P7X CB2qNlq6qrBxZPUbkU4FTkkFD9eYjFqNJ0bUS1lck1E2dQI98M3TIoMrY2869zh+2Uar eLbA== 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=P1HU5SyD2f8iTQENfZmDwisqhWCbNhALiuhjU4dTH9I=; b=IzaUzsEVsPf8Ypo/rbA/CYqYfF99FxeArKlPtvoAMTEw7Pb77WinHLrPB4kj0mjLlp 31TiRFLqRYuczC1eSYhnyHC/GKreQD5X0/abWPGtYahxPsEDgEuTfYeJDieTNkJhaeUn DUNaGKW1QIxqW+THS57DA6wQzco8iyvK2TEPDWd5Blj8GihDlw2eTSRo5471Jn05JcoY 9zEqqI8spaDxmjIdLtTspUbLDQGxONhBKWBdk6Zd1M+wKHinsaLhKoGDQaCmSk3kSl8i VVvtAFuftvlrstgAV5E3yr0PRypWHBdlesO5tosxwxjgbq1uq0NYV9oKx/+J1IdFIbns aFbw== X-Gm-Message-State: AOAM5321Uf9oJs78N1X6np2xMPv18BPAjslgCGZ8c55/Amhh2KUA6Xvb dFuzDYHnrMNoWUZNNzhyH0zf2OduKvQzvcjx3hkR5g== X-Google-Smtp-Source: ABdhPJxy1O7gnbexdm02U7Dz+rW2otcCPa+KeJ7uOMpV7KJNWCofLevfAmR0nkDD+oUYOm49r/CrtlXHkB/1wM0xys4= X-Received: by 2002:a25:9201:: with SMTP id b1mr8903714ybo.354.1628206581072; Thu, 05 Aug 2021 16:36:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Thu, 5 Aug 2021 16:36:10 -0700 Message-ID: Subject: Re: Why does {..} expansion using 'bindkey' quoting, but {,} and BRACE_CCL don't quote at all? To: Marlon Richert Cc: Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 49248 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On Wed, Aug 4, 2021 at 11:18 PM Marlon Richert wrote: > > I just wish {a..z} didn't use quoting at all. :) Re-reading the doc for this, {a..z} is guaranteed to produce PRINTABLE output, which is not true of the other variations of brace expansion. > How would you feel about adding a shell option to make {a..z} > unquoted? Ambivalent. If you're going to set an option anyway, why can't you use BRACE_CCL and {a-z} ? > (Or failing that, an option to make all of them > $'..'-quoted.) That, I think not. You've already demonstrated that it's simple to add the quoting ... and in what circumstance would you want the brace expansion quoted, but the word in which it's embedded, unquoted?