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 28860 invoked from network); 18 Feb 2021 13:41:20 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 18 Feb 2021 13:41:20 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1613655680; b=bRphPxvptUzY8WqVwiXV+lOEWs0QszyKyfa1hALj/rDEp9jD7AZrVXrbKBP9dXSCVzPUPjzi3k VePRVyhuwiR5xbLFDopBlre4Y3HGx59KKU0oA2OVo7pooqDGgFtCzbPnoev4bzaBBo5PMM7eyr JNNlWl5/VU1h4abtpMlPRd3N487lGBl6VR6YLzn+iqtdjeRfhwx6PM1OphH2DmYCQZeOtQe1tx C30IJRNtfmlu6WlsLH3cKmoOr+qAcjtPvmCCfw6U1XHaxIAI99hxB1E07yN2hChcWK/AtOBmPL fsu5YOrA0voStp3WN/4alm4qI1MEQDTClETuLtrLb7vLOw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1613655680; bh=Kl5UD/iL3HxYSLSi9Yj9+9kVQvhMBlmMPDAfp7HdXWA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Subject:To:From:Date:DKIM-Signature; b=eZcf9fhfFgF4Ie3UBCV54hus6cZZ44MJTIjay1PA3/pNPMET5M2IXEnSBSiiGAGUdx5r2mwaHf XhpebB6HOgR25Wb8j/+Ph+uyQqSzn4dnbetb6Gl9ojSPUIaoxsx+1BOYoqniVv5q+TISkZthSQ tdmKH2lx+NoOO43hdJY18SiN4/4fbwrpctP6+FirK/OKV6nL301bhyEHa/eu1OR97Vt7U2zfXc QWAuv+MCz/0SuccP5MRQ8oksFQ0mWadB2ZcYXfdHVRCB0HGkK0Qnfx0Z36JoGTag5hj1zdCmVC WZUg3PeV5n5xFROZWh9RRrrSSDTRTm6Nc3DKIO4HV2ydIA==; 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-Transfer-Encoding: Content-Type:MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=rKHYijOqjMa14rFiudubgsXHwFMe2UQ5BQ1V2gdnJrM=; b=yZ2TTcxtGmeEsquHHVuF5OauOk GgvZfUe5DPgVNFAo5jc+JPDtfRCae313UNdXAUqsBrrnmrocZ8V9QnLgsBoblRLfISp62jOSIEj+O wv73mSM2SRHPLcG6I0CbhRdlx1GeKD9s9Smo+mAOn13q0TpE5rgrKp9guU4EMIJvMZvgCpA6v2g4g gThQ6Ixqec3Q2nU9TSK2ZInJftPrjp3ABcxqnwbvrX4XW2Y+2GSRdqH/GemGv8RNMaMdbY+9DG64r Zd2UvEx5XY6cRAzRxDwzoJxxnB8ZSvY76rC8EnwSNk9f1MjmJcSFPV9l8vfd8TqOGFUXrZ8C+dNaS +q9aM2ZA==; Received: from authenticated user by zero.zsh.org with local id 1lCjYU-00049P-Oh; Thu, 18 Feb 2021 13:41:18 +0000 Authentication-Results: zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none Received: from joooj.vinc17.net ([155.133.131.76]:41162) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lCjXv-0003mX-Sy; Thu, 18 Feb 2021 13:40:45 +0000 Received: from smtp-zira.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128]) by joooj.vinc17.net (Postfix) with ESMTPSA id C0BA4104; Thu, 18 Feb 2021 14:40:39 +0100 (CET) Received: by zira.vinc17.org (Postfix, from userid 1000) id 6D9F6C20506; Thu, 18 Feb 2021 14:40:39 +0100 (CET) Date: Thu, 18 Feb 2021 14:40:39 +0100 From: Vincent Lefevre To: zsh-users@zsh.org Subject: auto-quoting inside braces in arguments Message-ID: <20210218134039.GA1492462@zira.vinc17.org> Mail-Followup-To: zsh-users@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.0.5+111 (106ff19a) vl-132933 (2021-02-08) X-Seq: 26528 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: Is there a way to get auto-quoting inside braces in arguments? For instance, echo {a b} would give 2 words "echo" and "{a b}" (which is different from what a POSIX shell would give, but the behavior is already different anyway, as one gets a parse error otherwise). Obviously this rule should be applied only for arguments. Alternatively, one could have a feature like url-quote-magic. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)