autoconf-patches
[Top][All Lists]
Advanced

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

AIX sed oddity


From: Ralf Wildenhues
Subject: AIX sed oddity
Date: Sat, 23 Jun 2007 13:26:37 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

[ http://thread.gmane.org/gmane.comp.sysutils.automake.bugs/3946/focus=3948 ]

On AIX 5.3:
$ sed -e ''
| sed: 0602-429 No editing script was provided.
| Usage:  sed [-n] Script [File ...]
|         sed [-n] [-e Script] ... [-f Script_file] ... [File ...]

It still fails if followed by -e args that have normal script bits.
The following work as expected:

$ sed ''
$ sed -e '
'
$ sed -e ';'

Nice, huh?  OK to install this?

Cheers,
Ralf

2007-06-23  Ralf Wildenhues  <address@hidden>

        * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
        fails on AIX 5.3.

Index: doc/autoconf.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.1161
diff -u -r1.1161 autoconf.texi
--- doc/autoconf.texi   13 Jun 2007 16:52:24 -0000      1.1161
+++ doc/autoconf.texi   23 Jun 2007 11:25:10 -0000
@@ -13934,8 +13958,8 @@
 @end example
 
 The @option{-e} option is portable, so long as its argument
-does not begin with @samp{a}, @samp{c}, or @samp{i}
-(as this runs afoul of a Tru64 5.1 bug).
+is not empty and does not begin with @samp{a}, @samp{c}, or @samp{i}
+(the former fails on AIX 5.3, the latter runs afoul of a Tru64 5.1 bug).
 Some people prefer to use @samp{-e}:
 
 @example




reply via email to

[Prev in Thread] Current Thread [Next in Thread]