[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix gnulib-tool sed script de-commentation for AIX sed.
From: |
Ralf Wildenhues |
Subject: |
Re: Fix gnulib-tool sed script de-commentation for AIX sed. |
Date: |
Sat, 21 Aug 2010 07:46:18 +0200 |
User-agent: |
Mutt/1.5.20 (2010-04-22) |
Moving from bug-gnulib:
* Ralf Wildenhues wrote on Sat, Aug 21, 2010 at 07:23:23AM CEST:
> AIX sed copes with unindented comments, but fails over indentation with
> space or TAB:
>
> $ echo | sed -e '# comment ' -e ' #indented comment'
> sed: 0602-403 #indented comment is not a recognized function.
> $ echo | sed -e ' #indented comment'
> sed: 0602-403 #indented comment is not a recognized function.
OK?
Thanks,
Ralf
doc: AIX sed dislikes indented comments.
* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Update.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index f3dd336..f28c6a4 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -18377,8 +18377,8 @@ Limitations of Usual Tools
Unicos 9 @command{sed} loops endlessly on patterns like @samp{.*\n.*}.
Sed scripts should not use branch labels longer than 7 characters and
-should not contain comments. HP-UX sed has a limit of 99 commands
-(not counting @samp{:} commands) and
+should not contain comments; AIX 5.3 @command{sed} rejects indented comments.
+HP-UX sed has a limit of 99 commands (not counting @samp{:} commands) and
48 labels, which can not be circumvented by using more than one script
file. It can execute up to 19 reads with the @samp{r} command per cycle.
Solaris @command{/usr/ucb/sed} rejects usages that exceed a limit of
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Fix gnulib-tool sed script de-commentation for AIX sed.,
Ralf Wildenhues <=