zsh-workers
 help / color / mirror / code / Atom feed
From: "Lawrence Velázquez" <larryv@zsh.org>
To: Emily Seville <emilyseville7cf@gmail.com>
Cc: zsh-workers@zsh.org
Subject: Re: Problems in `zshmisc` manual page
Date: Sun, 24 Apr 2022 04:12:41 -0400	[thread overview]
Message-ID: <12B5A0D6-2F16-4100-958A-08B88366620D@zsh.org> (raw)
In-Reply-To: <CAGVHxD2-eb2T8oDfD7HutcnYA7t0BCfpDiQm_bEWG-xnzi7Atw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 826 bytes --]

> On Apr 24, 2022, at 3:13 AM, Emily Seville <emilyseville7cf@gmail.com> wrote:
> 
> There is no mention of a terminator after list. It's better to rewrite command description as:
> 
>> if list term then list term [ elif list term then list term ] ... [ else list term ] fi

I don’t see the need for this. The term “list” is already defined to include the terminator, so replacing every instance of “list” with “list term” would be incorrect, repetitive, and visually noisy.

> A list is a sequence of zero or more sublists, in which each sublist is terminated by ‘;’, ‘&’, ‘&|’, ‘&!’, or a newline. This terminator may optionally be omitted from the last sublist in the list when the list appears as a complex command inside ‘(...)’ or ‘{...}’.

-- 
vq
Sent from my iPhone

[-- Attachment #2: Type: text/html, Size: 3011 bytes --]

      reply	other threads:[~2022-04-24  8:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-24  7:12 Emily Seville
2022-04-24  8:12 ` Lawrence Velázquez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12B5A0D6-2F16-4100-958A-08B88366620D@zsh.org \
    --to=larryv@zsh.org \
    --cc=emilyseville7cf@gmail.com \
    --cc=zsh-workers@zsh.org \
    --subject='Re: Problems in `zshmisc` manual page' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).