mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-06 11:50:49 +02:00
readline fix for do-lowercase-version; fix for reading here-documents from aliases
This commit is contained in:
+5
-1
@@ -573,7 +573,11 @@ make_here_document (REDIRECT *temp, int lineno)
|
||||
|
||||
here_doc_first_line = 0;
|
||||
line = full_line;
|
||||
line_number++;
|
||||
|
||||
/* if read_secondary_line uses shell_getc, that handles incrementing
|
||||
line_number where necessary. */
|
||||
if (heredoc_string == 0)
|
||||
line_number++;
|
||||
|
||||
/* If set -v is in effect, echo the line read. read_secondary_line/
|
||||
read_a_line leaves the newline at the end, so don't print another. */
|
||||
|
||||
Reference in New Issue
Block a user