fix to expand $'...' and $"..." in certain word expansions while expanding lines of here-document data

This commit is contained in:
Chet Ramey
2022-01-25 09:33:34 -05:00
parent 3011048a92
commit 6e1ab9a367
5 changed files with 322 additions and 18 deletions
-4
View File
@@ -2848,10 +2848,6 @@ history_and_alias_expand_line (count, ignore)
new_line = history_expand_line_internal (rl_line_buffer);
#endif
t = expand_string_dollar_quote (new_line ? new_line : rl_line_buffer, 0);
FREE (new_line);
new_line = t;
#if defined (ALIAS)
if (new_line)
{