From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22151 invoked by alias); 15 Jun 2017 04:21:25 -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: 41301 Received: (qmail 27295 invoked from network); 15 Jun 2017 04:21:25 -0000 X-Qmail-Scanner-Diagnostics: from mail-vk0-f42.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.42):SA:0(-0.0/5.0):. Processed in 1.221141 secs); 15 Jun 2017 04:21:25 -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=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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.42 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=gOUjBHjjXmPCsR/B5LGfpHxpSEFNVGz9gVaE6fhi2ww=; b=H2K7avS+Xs1x/uPBKOkVOVQgzDevhPqnLYhJTEIR0pfdbuTizkb40bHlLOZYgZMbME IP8rX1TCgZ258bJQ5I9eQ5jxdu4LBhxatXGLOkWnxTKd3vdhc6Ip+tjyeemXeCerHb3q uEwAuxDn9jTyxKqrP/qpB0zQWW4XdUZYcu6/YKaCMHE3Dbfpb6XuGNmfZfGz5Luf/Ylu qIhkwnr6crMLP7JkGMS5KY1XyKEkwXIBJ/ZaaLgfI6IhnwZVJDDVYxLPKM8Rx2ocYdxO RE/P+duaV5hlcEZRq2Ms1dZZqesU1r431UimVhFZrVUMBbBKX4zu/Ugnc9TbEKMPzs/F 9+VQ== 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=gOUjBHjjXmPCsR/B5LGfpHxpSEFNVGz9gVaE6fhi2ww=; b=lV84a5QlQbfzARn8JOTgE0x8d+Y3ju2fAk3unyOAyQ+UJ5hbAUAxTKdNfgk1Yz8aA5 oBC3M6xlos3frBKqTByrfa/s2uLYgvFzzpJH+6mlLSGCexxy3N4NuWCNlApN32LwzD3A HZjKU3vsOo0xv+HLZv9h46VeVWyNKTN2AY12jiDgCdtFvnJF8HHrBAmsKdmpw32fdx+a 1T1WGwPwvsXWdQKVvfPtZu7alhCKIyF4rWJjIdWEGROV+ndAAxdyaI4QuK0vHS1idwq8 5dwGMcW/MVTmCwip/JPq5KVXmavjh2HWSAt5KA5vj6i9zzBBpew1tb8+4MmTqp9Te2VA 2Wvg== X-Gm-Message-State: AKS2vOyYYU5NwyukkNK7phoJDi/HNCugeUKMtcS6BY9ciArCafKd6pn9 wZqlfYifywKdpVgQ+2k= X-Received: by 10.31.50.12 with SMTP id y12mr1969446vky.89.1497500478698; Wed, 14 Jun 2017 21:21:18 -0700 (PDT) From: Bart Schaefer Message-Id: <170614212201.ZM21029@torch.brasslantern.com> Date: Wed, 14 Jun 2017 21:22:01 -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: } } ... since \0 is in IFS, word splitting happens since the command } substitution isn't quoted. This is happening, though, I didn't mean to imply otherwise. } zsh tries to send the output to [subdir] and /myfile; but fails hard when } it can't write to [subdir], not attempting to write to /myfile. This bothers me a little bit as well, actually, though probably there is nothing to be done about it, since there's no way to validate all the attempted redirections at once.