Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: darwin19.6.0 Compiler: gcc Compilation CFLAGS: -g -O2 uname output: Darwin lab1r2s10.42abudhabi.ae 19.6.0 Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.$ Machine Type: x86_64-apple-darwin19.6.0
Bash Version: 5.2 Patch Level: 0 Release Status: release Description: If unclosed single quotes or unclosed double quotes are used as a delimiter in here-doc, bash lets the user finish the quote on the next lines. As a result delimiter contains \newline character. Which even if pasted does not trigger the here-doc to be concluded. Repeat-By: Just try the following command and try to execute: cat <<en' d' Hello World! en d -- Dastan Abdygali Phone.: +971 056 260 7155