[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sed --posix does not catch incomplete arguments
From: |
Bruno Haible |
Subject: |
Re: sed --posix does not catch incomplete arguments |
Date: |
Tue, 22 Jun 2010 01:36:39 +0200 |
User-agent: |
KMail/1.9.9 |
Hi Ralf, Paul,
Thank you for your multiple comments.
Ralf Wildenhues wrote:
> Posix (I don't recall which version)
> requires backslash-newline to be passed as such to the shell, and GNU
> make 3.81 changed semantics in this regard.
Well spotted. The corrected text is below.
> Please let's not add overly much indentation to examples
OK.
> The problem seems to be relevant only for scripts ending trailing backslash
Maybe. But these 'sed' scripts occur. But I can certainly present a simpler one,
with just an 's' substitution.
Find attached the two proposed patches (the first one unchanged, the second one
taking into account your remarks).
0001-Document-how-to-write-comments-in-makefile-rules.patch
Description: Text Data
0002-Document-how-to-use-literal-newlines-in-makefile-rul.patch
Description: Text Data