Re: Reportting a BUG in Heredoc

2022-10-26 Thread Kerin Millar
On Wed, 26 Oct 2022 11:03:57 +0700 Robert Elz wrote: > There is no bash bug here, though it could perhaps be a little > kinder to users who make this simple mistake. > > The rules for heredocs say that the end delimiter is a line. So they do. Somehow, I missed that upon my reading. > A line ca

Re: Reportting a BUG in Heredoc

2022-10-25 Thread Robert Elz
There is no bash bug here, though it could perhaps be a little kinder to users who make this simple mistake. The rules for heredocs say that the end delimiter is a line. A line cannot contain an embedded newline - then it would be two lines. The here doc end delimiter given after the << redirect

Re: Reportting a BUG in Heredoc

2022-10-25 Thread Kerin Millar
On Tue, 25 Oct 2022 19:32:33 + Abla OUHAGA wrote: > From: abouhaga > To: bug-bash@gnu.org > Subject: Reporting a BUG in Heredoc. > > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: darwin18.7.0 > Compiler: clang > Compilation CFLAGS: -DSSH_SOURCE_B