[PATCH] help -d: print loadable builtins correctly

2024-10-03 Thread Grisha Levit
help -d output assumes that long_doc[0] includes a newline, which is not the case for loadable builtins: $ enable ln rm $ help -d ln rm ln - Link files.rm - Remove files --- builtins/help.def | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/builtins/help

[PATCH] BASH_SOURCE_FULLPATH_DEFAULT fixup

2024-10-03 Thread Grisha Levit
Fix typo in configure.ac causing: src/bash/configure: 3892: test: =: unexpected operator Update shopt reset code to use new define. --- builtins/shopt.def | 2 +- configure.ac | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/builtins/shopt.def b/builtins/shopt