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,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32667 invoked from network); 10 Jul 2022 17:51:29 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 10 Jul 2022 17:51:29 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1657475489; b=WgC+Q4ItdCVRiFVuDj6XmvFjOE+R7HkhQFJiwH9DLZPfOKDiB/pRC57FrMq3/woE1JpbrU1a8N 0CRdJ9przcdVaN+l2sxbx20Ne7i8AAsTxw+zM1en31w77bbQWAC/h8SOpHf9t3DFQtWeC7aZ7/ 6Zf2FxA6ZkRm01PHYo9dZJhEijmCjA8oIcmToHoC0U+tu8MuSGyk5lUxQlcuJoIK1NgCRjg3nF 9b/bzKlPv9D7pHpXtu7GOn/Izqx4BxmajzSrpeIevHB+JdS83c7zjNI3QcuCFKmUFZ2YLfXQ8J hpS7DJN4jaJVBC2xhzBWVmhC4Enz6kZdECgsx10ufT/+uA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f46.google.com) smtp.remote-ip=209.85.208.46; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 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=1657475489; bh=cPB92rQyfrTX3T8YjCKtkr73Ik2+uZZHtY29LykfJeI=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=jKyxPYQ3oyY64ROoCYflKiaND1UIp4JfVbbYzP6bMcOJUEbNWrIn9Oukwa66tmDEYW+QHXAvdf 3gVZoST4G4iEMVHAai1hxeOR979RG/yJBpiMAx2nURQT50jxMN6Q5auNJGXMxI1CdOWoDRRpoz hx484VewkqOt97QmpjeVEzLX604sIzIrZvYaMHxQIOCBkW16D0gVy+lN0HIz7RtebhD2K9OBI2 yeiD15JE6vZGRzTn5GnrS0bttw5XAfY0GXONQj6xgrLjeMw/y8aePojyiY8eugbrRruzi6nsQP BYNXDMY7WVq27Xh3Fbomn9C11FEqBN5GvFuSFPdSw0Psiw==; 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:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=6hjiR5xqeGxy1s0auvs99is8GW7Svg6pk3dW2HcnXR0=; b=d9arNt1Sds/DjCil/bCliUw8NK 4yvQYK9yp3e5kKuLrVVcXHLsjpeYJlmoAN0RmegnP/tzd/0+R5JGKEiMGkCYD3KOTaVR3VZsBTyhq JUMBiUUQc9X1JCMHg9Bl7Bczmz4CyW8AyhFnWlYl928zMETuWVmjpdoJ0W1yF31ZWV1Q4JQX6UO/w bjCbGmKCGHuCIGzNjza4N0OXo8RMxqAwfkmW/9WBbj0nzO6H6MxPt0AV2TfI4hBMxFTkElWQnKL+/ TxlSBfV5s7OFczYL1guiD3H5ZCa9t3y3VxHnQACm8bm4Z5IUw+tZWiKBUfs7xNUmt2oeMyhm8mFvq fdRcxzyg==; Received: from authenticated user by zero.zsh.org with local id 1oAb5d-000Awv-2t; Sun, 10 Jul 2022 17:51:29 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f46.google.com) smtp.remote-ip=209.85.208.46; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ed1-f46.google.com ([209.85.208.46]:40578) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1oAb4D-000ABa-C4; Sun, 10 Jul 2022 17:50:01 +0000 Received: by mail-ed1-f46.google.com with SMTP id r6so3894547edd.7 for ; Sun, 10 Jul 2022 10:50:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=6hjiR5xqeGxy1s0auvs99is8GW7Svg6pk3dW2HcnXR0=; b=hchwZFHDi52r7suszjINJMR1QadCmiWyBD1Tc4yCpQwGC2ayMq42TnC+/lJ+tMcYVc hIqVQ6z3fDWgvB7hjSeprCMFuryKrhpKEenub1XJatRoZ0e8iSoG9TRB4hIx8s7moXIp DKnCX6zm9e+Q/UA7LzNKCconMcaw+EZPNx/UvyGgn+08J+3oV81i4XCBY0d5fNDpsxC3 HE6d4LWQAqnaMuhUc09SBi77UCPn9VYRmKbBHiKdV6NKmdz5LG803KmS/0QWGMkahvuK +zF1IiPgylZ3huMjy5d6CNdYlSFu+8stg+4+TAkwP3RsjaN9UZJF1XQtp9zejYC9fXCy +6DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=6hjiR5xqeGxy1s0auvs99is8GW7Svg6pk3dW2HcnXR0=; b=amB346Z6yQCEhN+UHXY8ubDe5E5Nf5XNsB7SRxhNcyRgYCZ8s4JttBh63qRDn3rUE5 khb6sV/FpIDRANFD+iJ4UQgoQYsbil5kKYkGI6Nm773estRQktkkS0zZ2AYdxbPqp/qR Dy+Ehq+tV+WJI/az/jeaNGYmKwqqyeyOg7MBIi+xTbdiFct9B/MGn/VwGAb0P4VdyBRA QDtRow9L9rYONxAdAjGECyjH11tQ094SSwbNheNsBW7EWsVGaAfyluKtNXv8mp+LIWrF fr0P9I5azEgngrk1+7BHX6G8PnzIj83btDQi8/UyYdXGLCz/bbBPH9EdLhgBrBHAfQhX /ysA== X-Gm-Message-State: AJIora+DAjerWe7fvUH9rl5v2i2c0e8d9j2WGXlXsBR19ESTky7tKHdK nFO0YhIZinBNBnTdkZxF3YDMpxzI2pGeY14MCM22x+SrX5PTvQ== X-Google-Smtp-Source: AGRyM1uT8n/9km3kJJk4TlP0xsQpc+4la+ISj8GB5VUZMYZFwu8q3LjbOK4NXCZQ9aOHzG7s6H7+79MloErxB/z3DwI= X-Received: by 2002:a05:6402:350a:b0:43a:a486:102e with SMTP id b10-20020a056402350a00b0043aa486102emr19413363edd.372.1657475400969; Sun, 10 Jul 2022 10:50:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Sun, 10 Jul 2022 10:49:49 -0700 Message-ID: Subject: Re: Using file lines as "input files" To: Zsh Users Content-Type: text/plain; charset="UTF-8" X-Seq: 27886 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: On Sat, Jul 9, 2022 at 8:27 PM Bart Schaefer wrote: > > The leading "nonexistent" elements become one word, and the remaining > element with a value becomes another. I'm not sure why that happens. In fact any series of "unset" elements becomes an (empty) word. % foo[9]=x % foo[18]='' % unset foo\[18\] % print $#foo 18 % setopt shwordsplit % print a${^foo}b ab axb ab