From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 555 invoked by alias); 24 Mar 2017 11:27:05 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22608 Received: (qmail 26759 invoked from network); 24 Mar 2017 11:27:05 -0000 X-Qmail-Scanner-Diagnostics: from aok120.rev.netart.pl by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(85.128.245.120):SA:0(0.0/5.0):. Processed in 2.032894 secs); 24 Mar 2017 11:27:05 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: psprint@zdharma.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at zdharma.org does not designate permitted sender hosts) X-Virus-Scanned: by amavisd-new using ClamAV (20) Date: Fri, 24 Mar 2017 12:26:52 +0100 From: Sebastian Gniazdowski To: zsh-users@zsh.org Message-ID: In-Reply-To: <20170322095212.2ff2dec8@pwslap01u.europe.root.pri> References: <20170322095212.2ff2dec8@pwslap01u.europe.root.pri> Subject: Re: How to substitute empty array element, or empty string X-Mailer: Airmail (231) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 23.03.2017 at 03:04:40, Peter Stephenson (p.stephenson=40samsung.com) = wrote:=C2=A0 > This might be one of those =22bug=22 things you sometimes read about fo= r other=C2=A0 > projects=E2=80=A6=C2=A0 (=E2=80=A6)=C2=A0 > + print -rl -- =22=24=7B(=40)a//*/x=7D=22=C2=A0 I'm little thrilled that this goes away from how // =22typically=22 works= . In bash // also doesn't match empty element. Maybe it's a Posix thing=3F= =C2=A0 --=C2=A0 Sebastian Gniazdowski=C2=A0 psprint =5Bat=5D zdharma.org