Commit Graph

681 Commits

Author SHA1 Message Date
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
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 7a8455e421 fix crash from compgen in a non-interactive shell; globstar option now works with complete -G; wait -p changes; some int->size_t changes 2022-04-19 10:45:39 -04:00
Chet Ramey 3be2a2ca9a minor portability fixes; printf now uses double for floating point conversions by default in posix mode 2022-04-12 09:57:43 -04:00
Chet Ramey 0b9a4b3ae0 readline changes to use xfree; bumped version to bash-5.2-beta 2022-04-08 11:03:02 -04:00
Chet Ramey 8f68f9f0ff remove history position change to non-incremental search; fixes to $@ in some word expansions like :+ 2022-03-25 09:52:26 -04:00
Chet Ramey b6a567e7f1 fix problem with saving tty state after running a command with 'bind -x'; builtins that create associative arrays can now convert existing scalar variables to associative arrays 2022-03-11 16:09:24 -05:00
Chet Ramey b4e5e5505c fix to readline redisplay of invisible chars at end of line; fix to here-document delimiter quote removal; prompt expansion makes invisible chars in w, W, s visible 2022-03-07 09:21:09 -05:00
Chet Ramey 6c4a9a5cb7 efficiency change to command hashing; fix pointer aliasing problem with readline history-search-backward 2022-03-01 09:32:15 -05:00
Chet Ramey 6d69b62547 changes for the shopt compatNN options 2022-02-15 11:52:30 -05:00
Chet Ramey bf09dfc08d document new readline variables "active-region-start-color" and "active-region-end-color" 2022-02-11 09:12:39 -05:00
Chet Ramey d70b53393e new variables to control the active region color; minor fix to $? 2022-02-09 10:21:04 -05:00
Chet Ramey 780d665cfd fix to multiple alias expansion problem in command substitutions 2022-02-09 10:15:16 -05:00
Chet Ramey 3011048a92 fixes to read/wait; revert change that processes $'...' quoting in here-documents unconditionally 2022-01-24 09:37:14 -05:00
Chet Ramey 2a1c81bf63 change to behavior of '&' in pattern substitution replacement string; fix for blank lines in multiline commands saved in command history 2022-01-18 10:59:53 -05:00
Chet Ramey 5e6f45d9b1 getting ready for bash-5.2 2022-01-11 15:53:25 -05:00
Chet Ramey 186129835e new shell option to force globbing never to return .' and ..' as matches 2022-01-04 10:11:48 -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 5f2dd5ff95 fix for posix semantics for the := word expansion when assigning array elements 2021-12-14 14:18:00 -05:00
Chet Ramey 567c0bc2ed fix to make += work with dynamic integer vars like RANDOM 2021-12-13 09:37:23 -05:00
Chet Ramey 71a11dbeb4 portability and compatibility fixes 2021-12-06 09:17:41 -05:00
Chet Ramey 006856edf6 minimal-config changes; $"..." support is now a configuration option 2021-12-01 16:40:52 -05:00
Chet Ramey fffe80d438 new getconf shell builtin 2021-11-30 10:41:22 -05:00
Chet Ramey 25e43d2c0a removed some commented-out code dependent on the compatibility level now that the version is 5.2 2021-11-22 10:11:06 -05:00
Chet Ramey e59452c752 readline: use a custom extension in LS_COLORS to set the colored completion prefix, if present 2021-11-16 09:57:07 -05:00
Chet Ramey c813e24652 new `patsub_replacement' shell option 2021-10-25 11:56:15 -04:00
Chet Ramey 2c8ac78cbb minor documentation update on SIGINT handling 2021-10-21 16:02:37 -04:00
Chet Ramey 1fff64acdc changes to new pattern substitution replacement; documentation updates 2021-10-18 10:57:20 -04:00
Chet Ramey 304b1e938c preserve traps across a failed exec; small changes to how completion options interact; fix a bug with arithmetic for commands and LINENO 2021-10-11 10:38:16 -04: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 4410784029 more updates for autoconf-2.71: removing usage of AC_TRY_RUN 2021-09-13 10:08:15 -04:00
Chet Ramey ea32b611f7 new "@k" parameter transformation; minor completion fix for uncommon case 2021-08-23 15:54:49 -04:00
Chet Ramey f5b3299801 new noexpand_translations shopt option 2021-08-13 11:53:16 -04:00
Chet Ramey 4d4294caf7 globbing reacts to signals more quickly; new printf %Q format specifier; readline completion handles multiline quotes better 2021-08-08 20:44:28 -04:00
Chet Ramey 0edd0a9183 "enable name" when name is not a shell builtin attempts to load it from a shared object 2021-08-02 12:07:40 -04:00
Chet Ramey 6c84d09c19 make $0 available to non-interactive shell startup files 2021-07-28 10:27:04 -04:00
Chet Ramey 3fb16fce32 new option to auto-close varassign redirs; fixed some new parser error reporting issues 2021-06-28 10:26:43 -04:00
Chet Ramey 03de84de4a command substitution parsing now calls the parser recursively 2021-06-21 10:27:21 -04:00
Chet Ramey 8d3cecab33 changes to documentation to reduce gender-specific language; fix a seg fault in `fc' 2021-06-17 17:10:49 -04:00
Chet Ramey da43077c47 changes to handling of "." and ".." when dotglob is enabled; other minor changes 2021-06-15 15:07:40 -04:00
Chet Ramey 6e11792d93 minor documentation changes 2021-06-01 11:30:37 -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 7b024db83e more minor changes for builtins and array subscript expansion; fix to `wait -n' 2021-05-17 12:03:03 -04:00
Chet Ramey a30f513fc4 more changes to handle @ and * as associative array keys 2021-05-13 14:49:18 -04:00
Chet Ramey 35bc7025c1 first set of changes to eliminate array subscript double expansion in math contexts 2021-05-07 10:56:24 -04:00
Chet Ramey b196583609 new "enable-active-region" readline variable 2021-04-30 16:56:05 -04:00
Chet Ramey 3fd77612fc allow assignment to array keys @ and *; minor completion fix 2021-04-26 16:31:46 -04:00
Chet Ramey fb4ddc2d2b default value for BASH_LOADABLES_PATH; other minor changes 2021-04-12 16:44:43 -04:00
Chet Ramey 0e51345317 change grammar for select command to use compound_list 2021-04-06 11:37:01 -04:00