[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:42:20 +0200 |
User-agent: |
KMail/1.9.9 |
Ralf Wildenhues wrote:
> > Here's what I see on Solaris 10:
> >
> > $ echo a | sed -n -e 'i\' -e 0
> > Unrecognized command: 0
>
> JFTR, while i\ is a problem for some seds, I don't find any sed that rejects
> sed -e 1{ -e }
>
> among IRIX 6.5, AIX 5.1, Tru64 5.1D, BSDs, Solaris 2.6 or newer. The problem
> seems to be relevant only for scripts ending trailing backslash (which is far
> less often a problem in sed scripts).
OK, feel free to change the wording that I submitted (doc/autoconf.texi around
line 18244).
Bruno