192 Commits

Author SHA1 Message Date
Chet Ramey 669b32f676 interim fix for generic list functions to avoid pointer aliasing issues; documentation updates 2026-05-08 11:36:36 -04:00
Chet Ramey 55f721c51e update fix to save history if fatal signal arrives during $PROMPT_COMMAND execution; fix issue with extglob and empty patterns preceding pattern beginning with a `.' 2026-03-24 10:10:30 -04:00
Chet Ramey 468e98e574 change `read -d' on a tty when the delimiter is not a newline to set the terminal EOL character instead of putting the terminal into character-at-a-time mode; change some calls to atoi to use strol instead 2026-01-30 16:43:46 -05:00
Chet Ramey a43e08df2d history builtin has a -H option to display history entries as they would be written to the history file; history builtin now takes a START-END range specifier for listing; fix stray semicolon when printing shell functions containing a case command; changes to stdin redirection detection in preparation for POSIX interp 1913 2026-01-05 11:57:18 -05:00
Chet Ramey f27bf94a79 implementation of printf '%N$' numbered argument conversion specifier, compatible with coreutils 2025-12-05 15:50:38 -05:00
Chet Ramey 25c6aa5b23 fix issue with making local variables from the temporary environment arrays; documentation updates; fix read builtin to check that the delimiter is not a newline before changing the terminal settings with a zero-length timeout 2025-10-06 17:20:10 -04:00
Chet Ramey fbd078be0a builtins now return success if supplied --help; use groff to build HTML man pages; reset mbstate if $'...' strings read an invalid multibyte sequence; read -t 0 now looks at other options (-n/-N/-d) and sets the terminal state appropriately 2025-10-01 10:44:10 -04:00
Chet Ramey b88cd1c366 experimental change to use groff instead of man2html for HTML man pages; man page updates for reserved words; fix for pattern matching bracket expression ranges; readline changes to disallow defining some recursive keyboard macros 2025-09-18 17:26:51 -04:00
Chet Ramey a451bfc3f5 declare builtin changes to reject -i when used with -n; readline changes to make control characters visible in search strings; readline signal handling changes to avoid data corruption and UAF; documentation updates for more consistent quoting 2025-09-04 12:29:57 -04:00
Chet Ramey 727b8d3663 addition to POSIX mode documentation; new translations; update copyrights on some files; update formatted documentation; changes to cut/lcut loadable builtins when supplied -a ARRAY 2025-06-06 12:16:11 -04:00
Chet Ramey 7731dc5c4d fix for read builtin and invalid multibyte characters followed by the delimiter; updated formatted documentation; new bash.pot file with updated strings; updated translations 2025-04-22 10:39:43 -04:00
Chet Ramey 2e113467f0 minor updates for 5.3-rc1 release 2025-04-04 10:50:15 -04:00
Chet Ramey c3997d51f8 documentation updates for arithmetic expansion and array subscripts; update BASH_COMMAND for subshells; fix potential file descriptor leak in here document pipes 2025-03-07 10:23:58 -05:00
Chet Ramey 0390b4354a posix change for undoing redirections after failed exec; change readline to set lines and columns after SIGTSTP/SIGCONT 2025-01-28 10:15:16 -05:00
Chet Ramey 2ea356081d documentation updates; test suite updates to reduce extraneous diff output; don't export BASHOPTS into running tests 2025-01-09 16:13:16 -05:00
Chet Ramey bb56d620e0 more documentation updates; fix two issues when displaying readline completions; fix another use-after-free error with readline undo lists 2024-12-13 09:51:46 -05:00
Chet Ramey 5b239ebbd2 another set of documentation updates; fix readline problem with history entry undo list corruption 2024-12-10 11:43:08 -05:00
Chet Ramey b116cfe57d fix for readline redisplay issue in C locale; fix for small memory leak in termcap replacement library; updates to formatted documentation; fix problem with distclean and y.tab.h; Makefile clean targets updates 2024-11-08 11:13:57 -05:00
Chet Ramey bf093e31ae final set of documentation updates; documentation directory cleanups 2024-11-02 14:50:28 -04:00
Chet Ramey 474743f2da next set of documentation updates (word splitting), rearrange a test in readline's tilde expansion to avoid touching uninitialized data 2024-10-22 15:40:46 -04:00
Chet Ramey 261c6e8cc6 next set of documentation fixes: update formatting, make filename formatting consistent, typeset the name readline consistently 2024-10-18 12:19:48 -04:00
Chet Ramey 3ed028ccec next set of documentation updates (job control); fix read timeout problem; fix bash-source-fullpath default; brace expansion integer overflow fix; fix for help output for loadable builtins 2024-10-15 10:02:17 -04:00
Chet Ramey c7439376a3 next set of documentation updates, includes readline 2024-10-11 09:41:57 -04:00
Chet Ramey e327891b52 fix for printf with broken strtold; fix readline reading specified number of multibyte characters; fix read builtin to deal with invalid utf-8 continuation character as delimiter; turn off -n if supplied at interactive shell invocation 2024-08-21 16:11:01 -04:00
Chet Ramey 772e7e760e fix issue with read builtin delimiter in invaild mutibyte char; fix crash if caller passes negative count argument to one of the history file writing functions 2024-08-09 10:01:38 -04:00
Chet Ramey e45ec6f76b new bash_source_fullpath shell option; documentation updates for wait builtin 2024-07-30 11:18:17 -04:00
Chet Ramey a91b8b0773 doc changes for --rcfile; fix isearch undo list incompatibility with bash-5.2; non-inc search preserves undo lists in history entries 2024-07-06 12:54:57 -04:00
Chet Ramey 9c430f6bf3 enable MULTIPLE_COPROCS; bind -p/-P can print out bindings for individual command names; changes to Makefile to remove MFLAGS; simplify build tools by assuming C90 compilation environment for better cross-compiling support 2024-04-26 16:51:04 -04:00
Chet Ramey e6795c05dd fix coproc code to close previous coproc file descriptors if another one is created; start at setting additional coproc states; change release status to bash-5.3-alpha 2024-04-06 16:06:11 -04:00
Chet Ramey 092aa45bcc updates to man pages to deal with groff warnings and old troff versions 2024-02-09 10:41:58 -05:00
Chet Ramey aa2d23cfac fix history expansion to not perform quick substitution on a new line that's part of a quoted string; save the value of $_ around prompt string decoding 2023-12-19 09:56:34 -05:00
Chet Ramey 7a698806d1 changes to quoting for some globbing characters; regularize error behavior of builtins that take numeric arguments and complain about too many arguments 2023-10-11 11:40:08 -04:00
Chet Ramey 09c32bc946 fix for @E transformation; fixes for failures in arith for and for commands; style changes to man page; fix for bug in read builtin if it assigns to IFS 2023-10-10 12:00:19 -04:00
Chet Ramey 32826f717d fix for race condition with process creation and terminal process group; changes to printf builtin for multibyte characters 2023-09-11 10:09:22 -04:00
Chet Ramey b64a7d8cbe fix for LINENO after shell errors; fix for crash with !&; new read -E option 2023-08-18 16:41:55 -04:00
Chet Ramey 8418224f32 changes for quoting special and multibyte characters in glob patterns; changes to filename unicode normalization on macOS for globbing and filename completion; send SIGCONT unconditionally to just-restarted job in fg/bg 2023-07-25 10:18:35 -04:00
Chet Ramey fc29a02404 new BASH_MONOSECONDS, BASH_TRAPSIG variables; make checkwinsize work in subshells of interactive shells; fix for declare -f and function names containing `=' 2023-06-20 10:10:11 -04:00
Chet Ramey b91488b51c new readline application variable rl_full_quoting_desired; new programmable completion option "fullquote"; TIMEFORMAT now accepts precisions up to six digits 2023-06-16 12:49:11 -04:00
Chet Ramey 76112093ec extend assoc_expand_once to indexed arrays; rename to array_expand_once, keeping old name as a synonym; udpate shopt documentation 2023-06-13 11:44:33 -04:00
Chet Ramey e252024788 remove (' from chars that can follow ${' command substitution; fix for empty command substitutions; fix for adding incomplete command substitutions to history; fix for function source file with -c command; fix for EOF at PS2 when ignoreeof is set 2023-05-26 17:29:41 -04:00
Chet Ramey 782af56204 updates for nofork command substitution; changes for z/OS machines; fix for race in wait_for_any_job 2023-05-22 09:37:41 -04:00
Chet Ramey e44e3d50de complete initial implementation of nofork command substitution (${ command; }) 2023-05-15 13:30:18 -04:00
Chet Ramey d052bd6fd9 readline and completion fixes 2023-04-20 11:27:36 -04:00
Chet Ramey a46164736e new compgen -V option to store completions in an array 2023-04-18 10:25:47 -04:00
Chet Ramey 237c32ba16 fix for programmable completion functions setting traps on signals that readline handles 2022-12-06 10:41:41 -05:00
Chet Ramey e9c75143a2 documentation updates 2022-09-20 10:16:23 -04:00
Chet Ramey b9ed20acfd modify readline so it adjusts internal variables when the locale changes between calls to readline() 2022-08-15 12:32:00 -04:00
Chet Ramey 9c317a6ae1 parse extended glob patterns in command substitutions in compatibility mode, even if extglob is not set 2022-08-02 11:16:48 -04:00
Chet Ramey 6392d7af0e bumped version to 5.2-rc1 2022-06-14 10:44:13 -04:00
Chet Ramey daff9ecae9 fix for EXIT trap in -c command; suspend -f now suspends even if job control is not enabled 2022-05-18 09:50:42 -04:00