zsh-users
 help / color / mirror / code / Atom feed
From: "Lawrence Velázquez" <larryv@zsh.org>
To: "Daniel Shahaf" <d.s@daniel.shahaf.name>
Cc: zsh-users@zsh.org
Subject: Re: Zsh spins in endless loop with SIGHUP + read in zshexit
Date: Sun, 18 Jul 2021 15:11:42 -0400	[thread overview]
Message-ID: <459fe38d-70af-4445-b578-4a185b56275b@www.fastmail.com> (raw)
In-Reply-To: <fbe839eb-75fa-4dab-ab5d-054c4e59e564@www.fastmail.com>

On Thu, May 13, 2021, at 10:36 AM, Daniel Shahaf wrote:
> Thanks for the bug report and analysis.  I don't have anything to add 
> to that.  However:
> 
> Jörg Sommer wrote on Thu, 13 May 2021 10:17 +00:00:
> >         if read -rq junk"?Root filesystem is still read-write. Remount ro? (y/N) "
> 
> You don't have to name the variable here; «read -q '?foo bar baz '» is 
> valid.  This, then?
> 
> diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
> index 61dc6986f..92f379d49 100644
> --- a/Doc/Zsh/builtins.yo
> +++ b/Doc/Zsh/builtins.yo
> @@ -1449,7 +1449,7 @@ findex(read)
>  vindex(IFS, use of)
>  redef(SPACES)(0)(tt(ifztexi(NOTRANS(@ @ @ @ @ ))ifnztexi(     )))
>  xitem(tt(read )[ tt(-rszpqAclneE) ] [ tt(-t) [ var(num) ] ] [ tt(-k) [ 
> var(num) ] ] [ tt(-d) var(delim) ])
> -item(SPACES()[ tt(-u) var(n) ] [ var(name)[tt(?)var(prompt)] ] [ 
> var(name) ...  ])(
> +item(SPACES()[ tt(-u) var(n) ] [ [var(name)][tt(?)var(prompt)] ] [ 
> var(name) ...  ])(
>  vindex(REPLY, use of)
>  vindex(reply, use of)
>  Read one line and break it into fields using the characters

Hi Daniel,

Planning on committing this?

-- 
vq


  reply	other threads:[~2021-07-18 19:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-13 10:17 Jörg Sommer
2021-05-13 14:36 ` Daniel Shahaf
2021-07-18 19:11   ` Lawrence Velázquez [this message]
2021-07-27  3:14     ` Daniel Shahaf
2021-05-13 15:51 ` Peter Stephenson
2021-05-13 15:54 ` Bart Schaefer
2021-05-13 16:07   ` Peter Stephenson
2021-05-13 16:30     ` Bart Schaefer
2021-05-13 18:44       ` Peter Stephenson
2021-05-13 21:37         ` Bart Schaefer
2021-05-14  9:56           ` Peter Stephenson
2021-05-14 17:44             ` Peter Stephenson
2021-05-14 18:51             ` Bart Schaefer

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=459fe38d-70af-4445-b578-4a185b56275b@www.fastmail.com \
    --to=larryv@zsh.org \
    --cc=d.s@daniel.shahaf.name \
    --cc=zsh-users@zsh.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).