fix for readline numeric args and bind -x commands; fix for printing null simple commands; fix to make read builtin callable recursively; fix for ignoreeof with nofork comsubs in PS1

This commit is contained in:
Chet Ramey
2023-08-23 16:32:40 -04:00
parent b64a7d8cbe
commit 944ac21503
8 changed files with 44 additions and 7 deletions
+2
View File
@@ -4401,6 +4401,8 @@ execute_simple_command (SIMPLE_COM *simple_command, int pipe_in, int pipe_out, i
/* Remember what this command line looks like at invocation. */
command_string_index = 0;
if (the_printed_command)
the_printed_command[0] = '\0';
print_simple_command (simple_command);
#if 0