Commit Graph

274 Commits

Author SHA1 Message Date
Chet Ramey a61ffa78ed second set of ANSI C changes: C89-style function declarations, more inline functions, remove register keyword 2023-01-03 10:23:11 -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 94d25f57f1 fix for too-aggressive optimizing forks away in an `eval' command inside a (command) subshell 2022-11-21 11:43:19 -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 b48c234286 change to binary file detection; fix for negative fractional read timeout; check more often for terminating signals in subshells; clear process substitutions in subshells; wait only for last procsub if `wait' is called without arguments 2022-10-31 10:08:36 -04:00
Chet Ramey 6711d2dc77 fix for interactive shell parser reset issue; fix for nested array subscript quoting issue; fix for process substitutions being closed to early in for loops 2022-10-24 10:09:52 -04:00
Chet Ramey 5d423d8ab3 fixes for posix-mode alias expansion in command substitutions; fix for multiple function definitions with here-documents inside command substitutions 2022-10-18 15:27:25 -04:00
Chet Ramey 055a4552c9 change to readline callback signal handling; fix message when popping shell function context; handle new terminating signals inside terminating signal handler; fix to pattern substitution with null replacement and null string; fix to alias expansion when we get a SIGINT while entering a command substitution in an interactive shell 2022-10-15 13:34:51 -04:00
Chet Ramey 55a8311420 fix for line numbers for nested function declarations; fix execve error for ENOENT 2022-10-11 16:17:22 -04:00
Chet Ramey 22f21b760e fixes for extended glob in compat mode; fix for brackets appearing in nested parameter expansions 2022-10-07 17:46:16 -04:00
Chet Ramey b7b9d7c306 fix for problem with command substitutions inside aliases 2022-09-01 10:25:58 -04:00
Chet Ramey 0ecda9fcc3 fix parser problem with auto-setting extglob inside command substitution inside conditional command pattern 2022-08-30 11:42:30 -04:00
Chet Ramey 9c317a6ae1 parse extended glob patterns in command substitutions in compatibility mode, even if extglob is not set 2022-08-02 11:16:48 -04:00
Chet Ramey 52ae6c3f5d fix for local variable problem in EXIT trap; add sed-like behavior for null patterns in pattern substitution 2022-07-19 11:42:23 -04:00
Chet Ramey 87a6e89edc additional tests; documentation updates 2022-07-12 10:19:29 -04:00
Chet Ramey 67e47f224c changes to text representation of parsed command substitution; small changes to tests 2022-07-06 10:05:59 -04: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 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 68ab281e30 change to how invisible characters in prompt string expansions are escaped 2022-03-18 10:23:53 -04: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 e7a56619a2 changes to make EOF state available to readline applications; fix for command substitution parsing inside conditional command 2022-02-21 10:06:44 -05:00
Chet Ramey 6d69b62547 changes for the shopt compatNN options 2022-02-15 11:52:30 -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 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 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 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 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 006856edf6 minimal-config changes; $"..." support is now a configuration option 2021-12-01 16:40:52 -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 2208813a97 optimize many cases of $(<file) not to require a fork 2021-09-02 10:52:20 -04:00
Chet Ramey f5b3299801 new noexpand_translations shopt option 2021-08-13 11:53:16 -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 2047e28584 add numeric arguments to bind -x commands and READLINE_ARGUMENT; minor fixes 2021-05-24 16:09:47 -04:00
Chet Ramey 3fd77612fc allow assignment to array keys @ and *; minor completion fix 2021-04-26 16:31:46 -04:00
Chet Ramey 0e51345317 change grammar for select command to use compound_list 2021-04-06 11:37:01 -04:00
Chet Ramey 65822e5011 alias expansion fix in case statements 2021-03-29 10:25:18 -04:00
Chet Ramey 6be3a741cb bindable readline command to perform spelling correction on a word 2021-03-18 11:48:48 -04:00
Chet Ramey 83c4ad27c7 process $'...' and $"..." in here-documents 2021-03-15 09:30:44 -04:00
Chet Ramey 11bf534f36 commit bash-20210305 snapshot 2021-03-10 10:35:28 -05:00
Chet Ramey c3b1868126 commit bash-20210217 snapshot 2021-02-24 15:32:34 -05:00
Chet Ramey a7309caba4 commit bash-20210215 snapshot 2021-02-17 15:31:03 -05:00