68 Commits

Author SHA1 Message Date
Chet Ramey 8085ee1396 fix the expansion of $@ on the rhs of an assignment statement to be more consistent; fix mapfile to only look up the variable again if a callback is invoked; fix memory leak when converting a variable to an array 2026-06-08 10:31:31 -04:00
Chet Ramey 2fd02c8387 fix for a trap on SIGINT restoring the default disposition in an asynchronous subshell; change cd exit status if -Pe supplied and the directory can't be changed; fix for compound associative array assignment if one of the expanded words unsets the array during word expansion; fixes for rare systems that don't have various defines and system calls 2025-11-17 14:50:43 -05:00
Chet Ramey 81d8584268 minor test suite updates; fix for export string when a variable from a function temporary environment is converted to an array variable; use fpurge to discard builtin output after a SIGINT in an interactive shell; fix for words containing quoted strings and {forward,backward}-shellword; experimental fix to discard a bgpid when a child with the same pid is created only if the new child is also an asynchronous pid; change read builtin to return >1 on read error, since 1 is reserved for EOF 2025-11-11 11:36:53 -05:00
Chet Ramey 2a645237d3 test suite updates: highlight failed test scripts; optionally save failed test output; report number of successful tests; exit based on number of test failures; indent warning messages to make them stand out 2025-10-16 11:44:26 -04:00
Chet Ramey 4917f2859c fixes for a couple of autoconf macros; update exit builtin for POSIX interp 1602; include more info in EOF error message when parsing compound command; update Makefiles by removing some variables, initializing others; update dependencies on version.h 2024-10-28 15:05:35 -04:00
Chet Ramey ee3b91dfd9 do not require leading . for rl color prefix etension; fix for isearch in single-byte locales; next set of doc updates (SIGNALS); add warning for invalid job id; allow function names to be non-identifiers in posix mode 2024-10-26 12:39:17 -04:00
Chet Ramey 5576c26da8 track initial line number of {'', (', and `[[' compound commands; don't have readline check for signals while it's handling a signal; fix for malformed printf time format specifier 2024-09-04 17:26:15 -04:00
Chet Ramey 2610d40b32 documentation updates; fix for null commands with redirection expansion errors; changes to job notifications for interactive shells sourcing files; fix underflow issue with word_top 2024-08-28 11:42:10 -04:00
Chet Ramey 886e4e68be better parser error messages; add -p option to source builtin 2024-06-21 10:38:39 -04:00
Chet Ramey fa0b002927 fix for dequoting words in pretty-print mode; posix mode changes for readonly/export invalid identifier errors 2024-01-02 10:42:34 -05:00
Chet Ramey 7a698806d1 changes to quoting for some globbing characters; regularize error behavior of builtins that take numeric arguments and complain about too many arguments 2023-10-11 11:40:08 -04:00
Chet Ramey 09c32bc946 fix for @E transformation; fixes for failures in arith for and for commands; style changes to man page; fix for bug in read builtin if it assigns to IFS 2023-10-10 12:00:19 -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 b64a7d8cbe fix for LINENO after shell errors; fix for crash with !&; new read -E option 2023-08-18 16:41:55 -04:00
Chet Ramey de195f9483 changes to function printing; new trap -P option; posix mode changes for command builtin as a declaration utility; changes for compiling without multibyte code 2023-01-31 10:20:31 -05:00
Chet Ramey c4a2e37470 fix comsub inside parameter expansion in here-document; fix readline longjmp botch; posix change for unset non-identifier; posix change for double quotes inside backquote comsub in here-document; add missing posix pieces to umask builtin 2022-12-19 09:38:15 -05:00
Chet Ramey 237c32ba16 fix for programmable completion functions setting traps on signals that readline handles 2022-12-06 10:41:41 -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 eb2d46d77c updated translations; minor change to DEBUG trap 2022-06-22 10:51:18 -04:00
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 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 03de84de4a command substitution parsing now calls the parser recursively 2021-06-21 10:27:21 -04:00
Chet Ramey 08871a7780 commit bash-20210201 snapshot 2021-02-06 18:27:50 -05:00
Chet Ramey fcad1d1e84 commit bash-20210127 snapshot 2021-02-01 15:09:07 -05:00
Chet Ramey 4be5608573 commit bash-20210122 snapshot 2021-01-27 11:49:50 -05:00
Chet Ramey 5a7a52eade commit bash-20210104 snapshot 2021-01-07 14:26:11 -05:00
Chet Ramey 216762309c commit bash-20200805 snapshot 2020-08-07 14:37:29 -04:00
Chet Ramey fdbb7e8481 commit bash-20200508 snapshot 2020-05-12 14:08:52 -04:00
Chet Ramey 69333f10bb commit bash-20200424 snapshot 2020-04-27 17:05:14 -04:00
Chet Ramey d111b2af6e commit bash-20190920 snapshot 2019-09-23 09:42:14 -04:00
Chet Ramey 969496e53b commit bash-20190830 snapshot 2019-09-03 10:54:55 -04:00
Chet Ramey 48492ffae2 commit bash-20190619 snapshot 2019-06-21 09:27:56 -04:00
Chet Ramey 89b3a79dd4 commit bash-20181226 snapshot 2019-01-03 10:19:09 -05:00
Chet Ramey 3d31a311da commit bash-20180921 snapshot 2018-09-25 09:54:29 -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 731e5676a2 commit bash-20161129 snapshot 2016-12-05 09:45:14 -05:00
Chet Ramey 4eb81d59d0 commit bash-20150828 snapshot 2015-09-11 14:19:06 -04:00
Chet Ramey d7935593ab commit bash-20150821 snapshot 2015-09-01 14:44:52 -04:00
Chet Ramey 34ec187607 commit bash-20150501 snapshot 2015-05-15 11:05:19 -04:00
Chet Ramey 06c3a57511 commit bash-20150320 snapshot 2015-03-25 10:08:06 -04:00
Chet Ramey 5f0df7f9a3 commit bash-20140131 snapshot 2014-02-04 09:33:43 -05:00
Chet Ramey fd58d46e0d commit bash-20120727 snapshot 2012-08-13 11:57:32 -04:00
Chet Ramey d42cb8c15b commit bash-20120629 snapshot 2012-07-07 12:26:10 -04:00
Chet Ramey 1f6ec1a86f commit bash-20120216 snapshot 2012-03-05 21:16:53 -05:00
Chet Ramey ddef12ffe1 commit bash-20110909 snapshot 2012-01-09 08:27:36 -05:00
Chet Ramey bfd181e794 commit bash-20110506 snapshot 2011-12-29 13:07:43 -05:00
Chet Ramey 9aea588273 commit bash-20110110 snapshot 2011-12-12 22:13:35 -05:00