104 Commits

Author SHA1 Message Date
Chet Ramey 4b27601dfd fixes for several bugs found via fuzzing: overflow in $'...' hex expansion; fix for accessing freed memory when reading input from stdin and using multiple redirections to stdin; fix for pointer aliasing problem after a syntax error while executing a command string 2025-12-30 16:06:40 -05:00
Chet Ramey 722a855459 New -D option for fc to force it to delete history entries selected for editing and re-execution; change readline edit-and-execute-command bindable command so it acts more like an accept-line followed by a command execution than an editing command that returns to readline() 2025-12-30 15:55:55 -05: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 b35866a289 updated translations; documentation updates; update copyright dates 2025-06-27 14:07:28 -04:00
Chet Ramey 535a8150b6 fix for command substitution string parsing that resulted in top-level unwind-protects being run in the wrong spot; fix for delimiter byte being part of invalid multibyte character in read builtin 2025-05-04 17:21:25 -04:00
Chet Ramey cf694865de optimize asynchronous function invocations; fix for running return from trap while sourcing a file; restore completion function if read -e is interrupted 2024-08-15 16:37:54 -04:00
Chet Ramey 5d53be184e update copyright dates; fix problem with ignoring completions 2024-07-16 09:38:09 -04:00
Chet Ramey d3e86e66ce reap and store status of process substitutions even when there are no jobs; fix issue with optimizing shell functions that set RETURN trap; fix issue with procsubs and eval allowing '<file'; fix for fignore and ignorning completions 2024-07-11 12:03:23 -04:00
Chet Ramey 6fb61ee126 allow some job notifications while running $PROMPT_COMMAND; allow notifications while running bind -x commands; change some translated messages to be more uniform 2024-05-06 11:25:35 -04:00
Chet Ramey d5ab50bc02 fix for ssh infinite loop when SSH_SOURCE_BASHRC is defined and bash is run in a comsub in .bashrc; implement posix interp 1009 in posix mode 2023-12-04 16:40:00 -05:00
Chet Ramey 81f7b44564 fix for -c command ending with backslash; fix several small memory leaks; fix several uninitialized variables; compgen -V fix 2023-06-26 16:23:10 -04:00
Chet Ramey d44a45afbc fix for optimizing forks away if bash -ic command is executed 2023-06-12 17:46:30 -04:00
Chet Ramey e44e3d50de complete initial implementation of nofork command substitution (${ command; }) 2023-05-15 13:30:18 -04:00
Chet Ramey ec02facd13 allow FIGNORE suffixes to match entire pathnames; allow SIGINT received while a function is executing in a loop to break the loop 2023-04-24 15:25:45 -04:00
Chet Ramey ec9447ce93 fix minor asan bug; $(<nosuchfile) is no longer a fatal error with errexit enabled; fixes for vi t/T motion commands 2023-04-05 16:07:04 -04:00
Chet Ramey 877ff72675 rest of work to convert unwind-protects to ANSI/ISO C; size_t updates; function prototype changes for ANSI/ISO C 2023-04-03 12:07:25 -04:00
Chet Ramey 2e725f7346 final set of ANSI C changes 2023-01-05 15:09:06 -05:00
Chet Ramey a61ffa78ed second set of ANSI C changes: C89-style function declarations, more inline functions, remove register keyword 2023-01-03 10:23:11 -05:00
Chet Ramey 81e3a4fb07 first set of ANSI C changes: remove PARAMS 2023-01-03 10:01:11 -05:00
Chet Ramey 198210c58f more changes for bracket expressions in patterns 2022-12-02 11:41:48 -05:00
Chet Ramey 94d25f57f1 fix for too-aggressive optimizing forks away in an `eval' command inside a (command) subshell 2022-11-21 11:43:19 -05:00
Chet Ramey 5d423d8ab3 fixes for posix-mode alias expansion in command substitutions; fix for multiple function definitions with here-documents inside command substitutions 2022-10-18 15:27:25 -04:00
Chet Ramey 055a4552c9 change to readline callback signal handling; fix message when popping shell function context; handle new terminating signals inside terminating signal handler; fix to pattern substitution with null replacement and null string; fix to alias expansion when we get a SIGINT while entering a command substitution in an interactive shell 2022-10-15 13:34:51 -04:00
Chet Ramey 52ae6c3f5d fix for local variable problem in EXIT trap; add sed-like behavior for null patterns in pattern substitution 2022-07-19 11:42:23 -04:00
Chet Ramey f9ed510acb fix to RL_STATE_EOF in readline callback mode; fix to edge case for terminating signal handling and exit traps in -c command 2022-05-03 10:43:44 -04:00
Chet Ramey b325b0e96b more changes for here-docs and $'...'; command optimization updates 2022-01-31 09:53:03 -05:00
Chet Ramey 701f36c2c3 more changes to avoid expanding associative array subscripts twice; internal debugging changes 2021-12-22 16:05:39 -05:00
Chet Ramey d384b92874 update version to 5.2-devel, update copyright dates 2021-11-08 09:53:24 -05:00
Chet Ramey f188aa6a01 enable support for using `&' in the pattern substitution replacement string 2021-10-04 15:30:21 -04:00
Chet Ramey 9928dcb48f changes to command timing with errexit; binary file checks; treat exit builtin slightly differently when using bash -c 2021-09-19 13:44:55 -04:00
Chet Ramey 2208813a97 optimize many cases of $(<file) not to require a fork 2021-09-02 10:52:20 -04:00
Chet Ramey 03de84de4a command substitution parsing now calls the parser recursively 2021-06-21 10:27:21 -04:00
Chet Ramey 2047e28584 add numeric arguments to bind -x commands and READLINE_ARGUMENT; minor fixes 2021-05-24 16:09:47 -04:00
Chet Ramey d514a08760 commit bash-20201001 snapshot 2020-10-19 08:56:41 -04:00
Chet Ramey 5adc7cd3ec commit bash-20200707 snapshot 2020-07-10 10:08:56 -04:00
Chet Ramey ab309487d5 commit bash-20200605 snapshot 2020-06-05 14:34:49 -04:00
Chet Ramey f9df535553 commit bash-20200529 snapshot 2020-06-03 18:31:24 -04:00
Chet Ramey 5e061bb08b commit bash-20191108 snapshot 2019-11-13 16:41:51 -05:00
Chet Ramey ad66335110 commit bash-20190906 snapshot 2019-09-09 10:00:54 -04:00
Chet Ramey 969496e53b commit bash-20190830 snapshot 2019-09-03 10:54:55 -04:00
Chet Ramey 194cfc28f8 commit bash-20190719 snapshot 2019-07-22 09:24:14 -04:00
Chet Ramey e2169ae94e commit bash-20190712 snapshot 2019-07-15 09:15:15 -04:00
Chet Ramey 653d7134f8 commit bash-20190607 snapshot 2019-06-10 11:05:35 -04:00
Chet Ramey 376c9fe57c commit bash-20190517 snapshot 2019-05-28 10:02:20 -04:00
Chet Ramey 8a9718cfc9 commit bash-20190130 snapshot 2019-02-01 09:03:24 -05:00
Chet Ramey ca5d21091b commit bash-20190125 snapshot 2019-01-30 14:38:09 -05:00
Chet Ramey 89b3a79dd4 commit bash-20181226 snapshot 2019-01-03 10:19:09 -05:00
Chet Ramey 5c5c75236c commit bash-20180524 snapshot 2018-05-29 10:03:17 -04:00
Chet Ramey c21b3727a7 commit bash-20180511 snapshot 2018-05-21 10:28:44 -04:00
Chet Ramey 89149ec09e commit bash-20180413 snapshot 2018-04-16 16:35:50 -04:00