[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: |
Sun, 4 Jul 2010 18:36:54 +0200 |
User-agent: |
KMail/1.9.9 |
Hi Paolo,
Eric Blake wrote on 2010-06-17:
> >> passing the script '1{' to option -e is also invalid.
> ... The Austin group
> take this morning is that allowing -e fragments is a useful addition for
> the next revision of the standard, but that there are still
> implementations today (like AIX) that don't support it now, so it will
> be several years before sed -e 1{ -e } is standardized.
So, I'm asking: Can GNU 'sed' be changed so that in --posix mode it rejects
either all incomplete fragments, or at least those that currently represent
a real portability problem (namely, those which end in a backslash)? [1][2]
Bruno
[1] http://lists.gnu.org/archive/html/bug-autoconf/2010-06/msg00047.html
[2] http://lists.gnu.org/archive/html/bug-autoconf/2010-06/msg00053.html
- Re: sed --posix does not catch incomplete arguments,
Bruno Haible <=