Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] _arguments: Escape colons and backslashes in $opt_args unambiguously.
- X-seq: zsh-workers 39207
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] _arguments: Escape colons and backslashes in $opt_args unambiguously.
- Date: Wed, 7 Sep 2016 00:03:20 -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=AW1FSOfmr/ILKTNP7WE5A/HGxYOzRrf2+6rFoNW46dg=; b=dMnr1f/CMae+5Oq1aYjXyG5vAzeFotnu+/DDEksjfqS7MpM1CUJHzjB5yoHBLa8rnb kZh+7sIkGWsMm4mpmAXVHy6iRjI88utKuzrhTSTAfPR4nd/C1fa6FNOuCacqSZJ6Ue8A 9oyiiv3NFnUdQEyWaxnRSMdsWS9/N/5H86FzSasVya1UJ1qluLtwlMF3lW8bQmCJKQ6+ d4rp8aGYn0Mjv19kYMOfMYU16Rbau84VuGM9DJMNIYBhXugN8YRv6y46wT/MIUX0fOHO mmq8NYxiFXSv6uXrmkwrwpcOMXGwqksjkJi77QbUK6J0bziYiSD9f2+w7oXJiD8GsIHg RJ4A==
- In-reply-to: <1473013592-24926-1-git-send-email-danielsh@fujitsu.shahaf.local2>
- 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: <1473013592-24926-1-git-send-email-danielsh@fujitsu.shahaf.local2>
On Sep 4, 6:26pm, Daniel Shahaf wrote:
}
} Is it okay to refer to NEWS from the manual?
Are there any other examples of the manual referring directly to the
behavior of previous versions?
It's not the kind of thing it's easy to search for, but I can't think
of any, so my inclination would be to drop your parenthetical Note:.
} In the manual I wrote "See NEWS" even though the pointed-to text is in
} README because (a) NEWS includes README by reference, (b) I doubted
} readers would follow a reference to README in that context.
I doubt readers will follow a NEWS reference either. If this is
important enough to reference -- which I don't think it is -- then
it's important enough to say it here, not cross-reference somewhere
outside of the regular documentation tree, and certainly it shouldn't
require going to NEWS, finding nothing, and then having to realize
it might be in README.
} +ambiguity: if the -x option took two arguments (as in
} + _arguments : -x:foo:${action}:bar:$action
} +), it would be impossible to tell from $opt_args whether the command-line
} +was '-x foo\:bar' or '-x foo\\ bar'.
Is this example correct? Isn't the actual ambiguity between
[[[ -x foo\:bar ]]] (one arg) and [[[ -x foo bar ]]] (two args)? If
I'm wrong, what is it about your explanation that confused me?
There's probably still an ambiguity between [[[ -x foo bar ]]] and
[[[ -x foo -x bar ]]] ...
Messages sorted by:
Reverse Date,
Date,
Thread,
Author