86 Commits

Author SHA1 Message Date
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 e608233770 revert change that suppressed array subscript expansion when called by the let builtin; fix default file descriptor for <> redirection when printing command 2025-02-24 11:36:49 -05:00
Chet Ramey 9b2a8c6d65 internal fixes for declare; additional tests for broken wcwidth() 2024-02-27 14:40:31 -05:00
Chet Ramey cc51fb3c65 avoid executing unsafe functions if we get a terminating signal while handling SIGCHLD; reject attempts to modify some attributes for readonly variables; more changes for unlocked stdio functions; quoting fixes for uncommon cases where IFS = ^A and the word is not being split 2024-02-20 09:53:58 -05:00
Chet Ramey b348b871b4 small change to brace expansion to inhibit some error messages; changes to printf builtin for precision and field widths 2023-10-23 09:50:02 -04:00
Chet Ramey 9c83052f48 changes to several error messages; more test suite additions 2023-10-04 15:04:31 -04:00
Chet Ramey 00edd0ee50 small changes to some error messages; greatly expanded builtins tests 2023-09-28 10:47:17 -04:00
Chet Ramey b3958b3ab4 a select command invalid selection variable name is now a fatal error in posix mode; many test suite additions 2023-09-25 15:08:04 -04:00
Chet Ramey dc91b3f509 fixes for read builtin with backslash escapes; change history builtin behavior when HISTFILE is unset or null; change to compopt to make it use the name from the actual compspec it uses; fix for executing coproc in functions; fix for array variables and declare -g 2023-08-04 11:06:57 -04:00
Chet Ramey 6cca378e82 prefer nanosleep for sleep loadable builtin; changes for overflow in indexed array indices; make sure dynamic loading and unloading builtins updates programmable completion; document that assignment to PATH clears the command hash table; fix small memory leak from readline filename rewrite hook 2023-07-05 16:38:35 -04:00
Chet Ramey 6a9e77e881 fix up semantics of assigning to noassign variables; fix error message in arithmetic noeval mode; add shared memory option to anonymous files; fix static linking config in configure 2023-07-03 10:26:23 -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 7411382644 fix tilde expansion in associative array compound assignments 2023-02-07 10:16:51 -05:00
Chet Ramey 96115811d8 clarify some arithmetic error messages; fix for read builtin readline timeouts; initial implementation of preserving double quotes in readline completion; add starting line number to some "EOF reached" parser error messages 2022-11-14 12:08:12 -05:00
Chet Ramey 43e861c2cd fix crash with unset arrays in arithmetic constructs ; change to avoid printing foreground job statuses when we don't want to 2022-10-04 11:58:54 -04: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 d384b92874 update version to 5.2-devel, update copyright dates 2021-11-08 09:53:24 -05: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 70d7c6430d fixes for array subscripts and values containing 0x01 characters 2021-09-28 15:13:02 -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 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 b304aabc92 additional changes to avoid array subscript double expansion in arithmetic contexts 2021-05-10 09:58:14 -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 3fd77612fc allow assignment to array keys @ and *; minor completion fix 2021-04-26 16:31:46 -04:00
Chet Ramey ce3e1a8c5b commit bash-20200803 snapshot 2020-08-05 11:46:35 -04:00
Chet Ramey 560f608dd5 commit bash-20200728 snapshot 2020-07-31 11:39:31 -04:00
Chet Ramey 3235014e5b commit bash-20200417 snapshot 2020-04-20 10:11:53 -04:00
Chet Ramey 5f49ef47d1 commit bash-20200323 snapshot 2020-03-27 10:30:38 -04:00
Chet Ramey 969496e53b commit bash-20190830 snapshot 2019-09-03 10:54:55 -04:00
Chet Ramey 15a23d4474 commit bash-20190313 snapshot 2019-03-18 10:48:08 -04:00
Chet Ramey 6870125961 commit bash-20181221 snapshot 2018-12-26 10:22:23 -05:00
Chet Ramey 83ea087e65 commit bash-20181114 snapshot 2018-11-14 11:45:55 -05:00
Chet Ramey f19b1b7334 commit bash-snap-20181017 snapshot 2018-10-18 11:13:57 -04:00
Chet Ramey 5fab8dbf24 commit bash-20180928 snapshot 2018-10-01 16:19:21 -04:00
Chet Ramey 3d31a311da commit bash-20180921 snapshot 2018-09-25 09:54:29 -04:00
Chet Ramey 07f38782cd commit bash-20180809 snapshot 2018-08-20 17:02:17 -04:00
Chet Ramey 057a9fbdb4 commit bash-20180803 snapshot 2018-08-06 08:58:26 -04:00
Chet Ramey f602026a0c commit bash-20180316 snapshot 2018-03-19 09:46:55 -04:00
Chet Ramey bf5b8103d4 commit bash-20180309 snapshot 2018-03-12 08:10:29 -04:00
Chet Ramey 124d67cde0 commit bash-20170324 snapshot 2017-03-28 11:32:59 -04:00
Chet Ramey cb0c28b93b commit bash-20170224 snapshot 2017-02-27 11:40:23 -05:00
Chet Ramey ec157dfefb commit bash-20161230 snapshot 2017-01-03 14:37:53 -05:00
Chet Ramey 216e2e9b8b commit bash-20161111 snapshot 2016-11-14 13:46:09 -05:00
Chet Ramey dcb2f4489f commit bash-20150918 snapshot 2015-09-21 17:02:33 -04:00
Chet Ramey 4eb81d59d0 commit bash-20150828 snapshot 2015-09-11 14:19:06 -04:00
Chet Ramey 06c3a57511 commit bash-20150320 snapshot 2015-03-25 10:08:06 -04:00
Chet Ramey 83633b6f04 commit bash-20141226 snapshot 2015-01-12 10:57:11 -05:00
Chet Ramey 09f70f2f67 commit bash-20141128 snapshot 2014-12-02 16:15:47 -05:00
Chet Ramey f3aad56dce commit bash-20141031 snapshot 2014-11-03 14:32:12 -05:00