Commit Graph

694 Commits

Author SHA1 Message Date
Chet Ramey d0cd67ee13 fix up parser flags command substitution parsing inherits; using temp files for here-documents is now a compatibility mode option 2022-04-27 16:16:59 -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 505f60f94c fix for history-search-backward after previous-history clearing the undo list 2022-04-04 09:40:49 -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 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 780d665cfd fix to multiple alias expansion problem in command substitutions 2022-02-09 10:15:16 -05:00
Chet Ramey b325b0e96b more changes for here-docs and $'...'; command optimization updates 2022-01-31 09:53:03 -05:00
Chet Ramey 6e1ab9a367 fix to expand $'...' and $"..." in certain word expansions while expanding lines of here-document data 2022-01-25 09:33:34 -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 be7fc0525e minor change to here-doc processing in compoind lists; change to completion to avoid quoting word expansion characters like `$' 2022-01-04 11:05:30 -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 006856edf6 minimal-config changes; $"..." support is now a configuration option 2021-12-01 16:40:52 -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 d384b92874 update version to 5.2-devel, update copyright dates 2021-11-08 09:53:24 -05:00
Chet Ramey 4657c04050 internal changes to prevent `unset' from scanning associative array subscripts multiple times 2021-11-01 10:42:50 -04:00
Chet Ramey 1984960023 fix readline expand prompt issue; fixes for readline fuzzing issues 2021-10-28 14:39:34 -04: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 f74291e6d1 new pattern substitution replacement feature; fix for problem with unset builtin and associative arrays 2021-10-08 08:21: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 70d7c6430d fixes for array subscripts and values containing 0x01 characters 2021-09-28 15:13:02 -04:00
Chet Ramey 70a158ede9 more changes for autoconf-2.71: AC_TRY_LINK; minor typo change to readline 2021-09-22 09:30:03 -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 a67031fe11 configuration changes to remove obsolete autoconf macros, and resultant changes to some source files 2021-09-08 11:16: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 61782ca16b minor fix to readline:unix-filename-rubout 2021-08-30 11:40:26 -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 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 6650b4de61 fixes for minor memory leaks 2021-07-19 09:58:33 -04:00
Chet Ramey 8ede7a904f readline changes for MSVC wide chars; check for more write errors 2021-07-16 15:11:03 -04:00
Chet Ramey 9e3495c9e9 readline: free undo list associated with the saved history line when traversing history 2021-07-12 11:09:44 -04:00
Chet Ramey 5a0e5b7b28 optimization changes; makefile changes to make specifying CFLAGS less annoying; print completions reusably 2021-07-06 15:35:08 -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 da43077c47 changes to handling of "." and ".." when dotglob is enabled; other minor changes 2021-06-15 15:07:40 -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 88bdb448b4 minor changes for builtin array subscript expansion; additional tests 2021-05-14 16:39:14 -04:00
Chet Ramey a30f513fc4 more changes to handle @ and * as associative array keys 2021-05-13 14:49:18 -04:00