Re: [Debian#1037195] dash: $(here-doc in <<substitution) is always empty, must consume subsequent lines per POSIX?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 08, 2023 at 10:19:24AM +0100, Harald van Dijk wrote:
>
> https://austingroupbugs.net/view.php?id=1036

If this is the text in the final document, then there is no
question that the behaviour of dash is allowed:

: For "$(" and '`' only, if instances of io_here tokens are found nested
: within the substitution, they shall be parsed according to the rules
: of [xref to 2.7.4]; if the terminating ')' or '`' of the substitution
: occurs before the NEWLINE token marking the start of the here-document,
: the behavior is unspecified.

Thanks,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux