diff --git a/NOTES.md b/NOTES.md index be8fa39..3dd6fa3 100644 --- a/NOTES.md +++ b/NOTES.md @@ -369,8 +369,7 @@ or filename expansion is performed on word. If any part of word is quoted, the delimiter is the result of quote removal on word, and the lines in the here-document are not expanded. If word is unquoted, -all lines of the here-document are subjected to parameter expansion, and the -character sequence \\newline is ignored. +all lines of the here-document are subjected to parameter expansion. This is the correct behaviour for quoting and parameter expansion: ```shell @@ -404,9 +403,7 @@ bash-5.2$ cat << "$USER" > $USER ``` -TODO: do we need to ignore \\newline? subject says \\ is not required.. - -If we have to implement it, this is the correct behaviour: +Subject says \\ is not required, so this behaviour we will not implement: ```shell bash-5.2$ cat << EOF > hello \