Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] zshmisc(1): document implicit append of `term` when `in word` is omitted
- X-seq: zsh-workers 43898
- From: Joey Pabalinas <joeypabalinas@xxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: [PATCH] zshmisc(1): document implicit append of `term` when `in word` is omitted
- Date: Sat, 15 Dec 2018 16:01:27 -1000
- Cc: Zsh Workers Mailing List <zsh-workers@xxxxxxx>, Joey Pabalinas <joeypabalinas@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=LSimCKOdkg/BVSCjudauInSgIG9ZVfeRFov5pC7NqQs=; b=IvbQXH8oKJ7rWNiQgbeJvzCCrp3X7KjQqccQW7ZvIwV9psTaj5+HVCrPrqhmwuelt1 D/ZA0OQOCTWo9tLXGIOI/lnlBSPMqx8FAfPppMDz71GWYkIkXfrGwT9zJvECWgDxFgCg rSjyXJwMn6W0d8XKi1KEzlxZVXaJr9R7cntjQjv9r3ivzcbUyA+p5voFcT17h/82Yi7t 7SCyWx0SCGos9IUDP4Y6S+KwmUz/kVhejpWW8WKb08Muu2DvxXVKfEs94cwXhOHNm+co BEdKdvtGDq0JDvXhd+xHeXGy8LxZKNLt3xm2Mz9ZooN1P0dnah96jIXanarm0Dh0lsx6 990Q==
- In-reply-to: <1544925190.621790.1610325216.065C6F48@webmail.messagingengine.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>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mail-followup-to: Joey Pabalinas <joeypabalinas@xxxxxxxxx>, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>, Zsh Workers Mailing List <zsh-workers@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <8afdae3ebc75741d47d657f29fb7d2876f9536b2.1544905398.git.joeypabalinas@gmail.com> <1544925190.621790.1610325216.065C6F48@webmail.messagingengine.com>
On Sun, Dec 16, 2018 at 01:53:10AM +0000, Daniel Shahaf wrote:
> Joey Pabalinas wrote on Sat, 15 Dec 2018 10:26 -1000:
> > This is fairly innocuous behavior and is POSIX-compliant, so document
> > this odd edge case rather than risk regressions attempting to change
> > the lexer/parser code.
>
> If preventing regressions is your goal, why not add a regression test using this syntax?
Sorry, maybe my commit message was a bit unclear. I meant instead of
trying to poke at the parser/lexer code to make the behavior match the
documentation, I figured it's easier to just do it the other way and
document the weird edge case.
Sorry for the ambiguity (and the double send, forgot to CC the list),
should I revise the commit description?
--
Cheers,
Joey Pabalinas
Attachment:
signature.asc
Description: PGP signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author