From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16326 invoked by alias); 15 Jun 2017 04:13:06 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 41300 Received: (qmail 29379 invoked from network); 15 Jun 2017 04:13:06 -0000 X-Qmail-Scanner-Diagnostics: from mail-vk0-f43.google.com 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(209.85.213.43):SA:0(-1.0/5.0):. Processed in 0.966932 secs); 15 Jun 2017 04:13:06 -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=-1.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.213.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=YS8Ep1y8VMrlOkmZ9j2x+SC83yYzOPaZdU33tZrJ2PI=; b=hQphDFM0TgyfMUIvdwwlKCHcuJVOTlpzmqqw0w/AiTiCOVqNsQqglMciq3mqrel6X4 ih3jXZpbENTQwrFtHsMNxNeDiHPj2et6ji2FfWytbckwIbaHRGHOAwpVlTHlW1+7mP6k L95mHzTOjnufHdXVCjz/bFDuulO6FrBGDDpHXdAVG79ENsryRZrKbgVI9j0xno7PkPH/ 9KC3gZY7T5BuxRke9NImBykiiGsG00PWRYl5qTOFpahp0+hWdZm7pqdK8DTh/EVDRiLe tWz6oa732IS6m30NEBlbb+fPG1Kf1SfHyfEzPJ6DszRoBJPqkyq2XlNFg+SCtt+8gQJg AH/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=YS8Ep1y8VMrlOkmZ9j2x+SC83yYzOPaZdU33tZrJ2PI=; b=p+PI62jLt33feydHbPRra8hIfsbX7gfeab8DAamDCWcK2ZdmCn4OsnzvPzAuTC/K9G GirDc/VrOh3JPJIZu82gFznzIC60JpUgmGV+Bj/hW2NSlKMtaYxgoO/E9Q5kPJTui+lE eEFXlgEFocurOTNaZurLXudcDzz2U1OV484gmVQeuyAg9DArO4E06lc/C1U8j1zji8UE xrbQnRSMP5Zx8Blj4wNQvzIW9MbesSIGq2DBFAVbGbRHHnTef0HV6aJ0gUANrIfezSX7 hvHKGZEFlWkJlSt5i9pW8rmngPq7Rr/NN89bx/pQNXmDfxRzy7zjMWpSv/B75qflqbeW Mx2w== X-Gm-Message-State: AKS2vOwtLPv++MqAblB+LNwPSEaZgHpMf5vyZJQbhzU5VTL1lv82tJet fi8PZLLkaUGJzoKUwAM= X-Received: by 10.31.16.65 with SMTP id g62mr1984411vki.49.1497499974992; Wed, 14 Jun 2017 21:12:54 -0700 (PDT) From: Bart Schaefer Message-Id: <170614211336.ZM20995@torch.brasslantern.com> Date: Wed, 14 Jun 2017 21:13:36 -0700 In-Reply-To: <60d15cae-f53a-794e-7f86-5cfaa622dfc3@gmx.com> Comments: In reply to Eric Cook "Re: Issue with resolving paths with zsh using \0 in variables" (Jun 14, 11:40pm) References: <170614160224.ZM20305@torch.brasslantern.com> <60d15cae-f53a-794e-7f86-5cfaa622dfc3@gmx.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Issue with resolving paths with zsh using \0 in variables MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 14, 11:40pm, Eric Cook wrote: } } On 06/14/2017 07:02 PM, Bart Schaefer wrote: } } > -- probably is a bug, just not the bug you think it is; the error should } > be that "subdir\0" is an illegal file name, rather than terminating the } > path at the nul and botching the redirection. } } When the expansion is quoted, you do get the error that you think it } should have. No, I don't: torch% echo "hi" > "sub$(cat location)/myfile" zsh: is a directory: subdir^@/myfile