projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix gnulib-tool sed script de-commentation for AIX sed.
[gnulib.git]
/
gnulib-tool
diff --git
a/gnulib-tool
b/gnulib-tool
index
bc967e3
..
b606ad6
100755
(executable)
--- a/
gnulib-tool
+++ b/
gnulib-tool
@@
-109,10
+109,10
@@
fi
sed_noop='s,x,x,'
# sed_comments is true or false, depending whether 'sed' supports comments.
sed_noop='s,x,x,'
# sed_comments is true or false, depending whether 'sed' supports comments.
-# (The GNU autoconf doc says that sed comments are not portable, but does
-# not say which 'sed' versions are affected.)
+# AIX 5.3 sed barfs over indented comments.
if echo fo | sed -e 's/f/g/
# s/o/u/
if echo fo | sed -e 's/f/g/
# s/o/u/
+ # indented comment
s/o/e/' 2>/dev/null | grep ge > /dev/null; then
sed_comments=true
else
s/o/e/' 2>/dev/null | grep ge > /dev/null; then
sed_comments=true
else