Commit Graph

1070 Commits

Author SHA1 Message Date
Chet Ramey 1d17c604fc changes to make builtins that perform assignments work better with arbitrary associative array keys 2022-01-04 10:54:28 -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 b2b78a6348 fixes to LINENO, read -n, command substitution and backslash-escaped newlines 2021-12-20 20:03:26 -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 e93bed95a8 fix for adding here-documents to history; change to checking for custom LS_COLORS prefix 2021-12-09 15:31:21 -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 d384b92874 update version to 5.2-devel, update copyright dates 2021-11-08 09:53:24 -05:00
Chet Ramey b06200f7a1 minor fixes to command -p, posix-mode tilde expansion, line numbers when in ERR traps 2021-11-04 15:45:55 -04: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 fa1e33671d prompt reprinting fixes for readline when screenwidth is less than prompt length; redirection fixes 2021-09-27 10:29:22 -04:00
Chet Ramey 72206eb271 new alternate array implementation that prioritizes access time over sparse arrays; selectable via configure 2021-09-23 16:14:29 -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 232f591964 more updates for autoconf-2.71: removing usage of AC_TRY_COMPILE 2021-09-20 11:05:10 -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 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 2adf06d9f8 minor fixes; readline API change for rl_completer_word_break_characters ; readline fixes for MSVC 2021-08-19 15:48:31 -04:00
Chet Ramey cf8298cb22 minor fixes; bad printf -v return status 2021-08-18 11:32:26 -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 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 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