2023年2月22日(水) 4:25 Chet Ramey :
> I think we could probably allow it during programmable completion, too. I
> don't know if it will provide any user benefit, though.
I see. Maybe it is more consistent, and the code would be simpler.
I'm not sure either if there is really a use case for checkwinsi
the bottom of the ${BASH_LINENO[*]} stack is always '0'; and the
array never contains the line number of the actual call site, as
${LINENO} does - is that expected behavior?
im not sure if this is a bug or not - it seems like a bug to me
though - the '0' value is meaningless and useless, yes?
$
On 2/21/23 3:59 PM, Eduardo A. Bustamante López wrote:
On Tue, Feb 21, 2023 at 11:03:59AM -0500, Chet Ramey wrote:
(...)
The shell should exit on EOF. Previous versions relied on undocumented
bison behavior, which resulted in a token that wasn't handled by the
grammar.
Thank you for reviewing
On Tue, 21 Feb 2023 15:44:34 -0500
Chet Ramey wrote:
> On 2/21/23 4:18 AM, Kerin Millar wrote:
> > I am writing to report that the documented behaviour of the checkwinsize
> > shopt can be impeded by the use of the subshell.
>
> It hasn't worked that way since at least bash-3.2, when I quit loo
On Tue, Feb 21, 2023 at 11:03:59AM -0500, Chet Ramey wrote:
(...)
> The shell should exit on EOF. Previous versions relied on undocumented
> bison behavior, which resulted in a token that wasn't handled by the
> grammar.
Thank you for reviewing this and for the explanation. I initially thought thi
On 2/21/23 4:18 AM, Kerin Millar wrote:
I am writing to report that the documented behaviour of the checkwinsize shopt
can be impeded by the use of the subshell.
It hasn't worked that way since at least bash-3.2, when I quit looking, so
at least 16+ years. I'll take it as a new feature request
On 2/21/23 8:21 AM, Koichi Murase wrote:
2023年2月21日(火) 20:28 Koichi Murase :
I recently noticed that `checkwinsize' stopped working in the trap
string and the `bind -x' context from Bash 5.2, which broke my script.
The behavioral change in the trap handlers and `bind -x' seems to have
been int
On 2/21/23 3:56 AM, Eduardo A. Bustamante López wrote:
Bash Version: 5.2
Patch Level: 15
Release Status: release
Description:
The handling of EOF while parsing an (unmatched) quoted string changes
between 5.1 and 5.2. In 5.1, typing [Ctrl-d] alone while in the context of
a q
2023年2月21日(火) 20:28 Koichi Murase :
> I recently noticed that `checkwinsize' stopped working in the trap
> string and the `bind -x' context from Bash 5.2, which broke my script.
The behavioral change in the trap handlers and `bind -x' seems to have
been introduced in the following commit.
https:/
2023年2月21日(火) 18:19 Kerin Millar :
> In this case, the values of the variables were not updated from within the
> subshell, only the initial shell. I consider this to be surprising because
> the manual does not mention any such limitation. Consequently, the utility of
> the checkwinsize feature
I am writing to report that the documented behaviour of the checkwinsize shopt
can be impeded by the use of the subshell.
Firstly, some preliminaries.
$ declare -p BASH_VERSION
declare -- BASH_VERSION="5.2.15(1)-release"
$ shopt checkwinsize
checkwinsizeon
$ sz() { /bin/true; declare -p COLU
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall
uname output: Linux system76-pc 6.1.0-4-amd64 #1 SMP PREEMPT_DYNAMIC Debian
6.1.11-1 (2023-02-
12 matches
Mail list logo