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 6848 invoked from network); 28 Sep 2021 18:32:02 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 28 Sep 2021 18:32:02 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1632853922; b=ZBGM0b0ySf7tqulL9/IB/WUivX0hLJ5x9OBier3BxbYe155wlBC0xe0QaO8v980IF297W4VD8r OfFVD7Q8XyPgHUxGrbO2KsEONRKL6NQyqu9ay3JkIqQulYAmcq8yuc61i3sjdO2uAeh96okDCH uo2gTxuzsi4Khc+F06Blmahj0lMceU/o3Y1vnslOnKkS5TCb/7v4mRr1nUmNIfupyT1WyQwp2h MlqK1VCHTivv68Kd4zm756KYJPXHnND7GnhKHh2Zb4bhIsy8W/Y7lpSxwgSdVLqK+9jD33tUeQ Q2eUiaTc1Z9o/D9KFSiuP2t1jtSd+Z+VyhAMn06IH7i3JQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (82-65-50-238.subs.proxad.net) smtp.remote-ip=82.65.50.238; dmarc=none header.from=prometheus.u-strasbg.fr; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1632853922; bh=ecX0AN4z+Tsv+MqiQxbIdkkZWClsUwHrGIBRfAD4arE=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:DKIM-Signature; b=Tr3fek6xRvYReIZKqcb6P/KxhLvPb/XplfqaYRu9IGSpEjiip7rv4xTieLLUsHYNUQe8JGMkGn b6DWinY5MO2lbeVZCdlCTarNApvL1xD7btlbazUZQPUY2gopOwsqJdtxU/wgwHMrZFip/yeqCV vWrsaTFKIJtF+To8r9MIpBFBqhIIQn/EGuJKPtGXVGzi1T9murlAD/Bp3HNeYvpK50XtymXnBz nwf/q1TYB+LYiKmST51u+HOkylNqLatMu37OXxMWxuD6vjNY18ZtwMSs+FhaQUDItxhK/CSXZ4 4Of1oWd8sSSH6fHVoEgZzscaE+DurnvWkrCA7BpXQAR3eQ==; 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:In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=deVzps+7GOGP76Wf26EN23DRedfR1PA7Mx7MZJoIdwM=; b=MvZGimgqVBZk4eH3pm5flVS10L k5LZ7PgUm65puzapRxgS6QaO3JAGWk/P8HJ9dH+5DhGrrP+OvXEsbzP9HyOI4+/BA7refrt+Nvdka EFrivAXOSGwiT91qTgHPZb6RYnf/97DjvQ0d57OW+2m0c+pny4WhPqmVUjwTutyTk38Cd2uXPjLmt jEqvfpuU7nPMddAhQ3G0t+m17GDMCbGOmW+aHeF/RA6JLXX9S/2pGCdq0IWU0XEyh0qlnwf8TqvQS 2/m1U0T0Jtvk+W7lflSjlib9vfUBce9Q9DV4br4SbOIBFnOkhI/0pYA2pH28hO8sxdf40RsHNsOcK t54R0E2w==; Received: from authenticated user by zero.zsh.org with local id 1mVHtZ-000GJ0-MU; Tue, 28 Sep 2021 18:32:01 +0000 Authentication-Results: zsh.org; iprev=pass (82-65-50-238.subs.proxad.net) smtp.remote-ip=82.65.50.238; dmarc=none header.from=prometheus.u-strasbg.fr; arc=none Received: from 82-65-50-238.subs.proxad.net ([82.65.50.238]:59202 helo=prometheus.u-strasbg.fr) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1mVC4n-000Pg6-Rc; Tue, 28 Sep 2021 12:19:15 +0000 Received: from localhost (prometheus.u-strasbg.fr [local]) by prometheus.u-strasbg.fr (OpenSMTPD) with ESMTPA id b5844902; Tue, 28 Sep 2021 12:19:07 +0000 (UTC) Date: Tue, 28 Sep 2021 14:19:07 +0200 From: Marc Chantreux To: Pier Paolo Grassi Cc: Zsh-Users List Subject: Re: quoting words Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Validation-by: larryv@zsh.org X-Seq: 27158 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: hello, echo $ZSH_VERSION omz=( 'the first' 'the last' ) echo a isa ${(t)omz} typeset -p omz echo -e "${(@qq)omz}" gives me 5.8 a isa array typeset -a omz=( 'the first' 'the last' ) 'the first' 'the last' note the -a when you have typeset a='''sa bb'' ''cc dd''' so ${(t)omz} is probably scalar. would you mind unset a and give my code a try ? regards marc