Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Issue with resolving paths with zsh using \0 in variables
- X-seq: zsh-workers 41301
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Issue with resolving paths with zsh using \0 in variables
- Date: Wed, 14 Jun 2017 21:22:01 -0700
- 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==
- In-reply-to: <60d15cae-f53a-794e-7f86-5cfaa622dfc3@gmx.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAADoZg3dsdn6yBrkUYQj3=w6ZKyqQDu5sG+kEas9c5yLNU1XPA@mail.gmail.com> <170614160224.ZM20305@torch.brasslantern.com> <60d15cae-f53a-794e-7f86-5cfaa622dfc3@gmx.com>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author