From: Paul Eggert Date: Wed, 25 Oct 2006 20:21:05 +0000 (+0000) Subject: * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by X-Git-Tag: AUTOCONF-2.61~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33d227cecee651c1c8206359113f5ebb972593de;p=thirdparty%2Fautoconf.git * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by Jim Meyering. --- diff --git a/ChangeLog b/ChangeLog index 66c47d188..10c6623f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-25 Paul Eggert + + * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by + Jim Meyering. + 2006-10-25 Stepan Kasal * tests/tools.at (autom4te --force): New test, verifies that diff --git a/doc/autoconf.texi b/doc/autoconf.texi index f4b43a802..91abeaefe 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -11859,8 +11859,19 @@ $ @kbd{echo abc | tr -t ab //} /bc @end example +Unpatched Tru64 4.0 @command{sh} adds a slash after @samp{"$var"} if the +variable is empty and the second double-quote is followed by a word that +begins and ends with slash: + +@example +$ @kbd{sh -xc 'p=; echo "$p"/ouch/'} +p= ++ echo //ouch/ +//ouch/ +@end example + However, our understanding is that patches are available, so perhaps -it's not worth worrying about working around this horrendous bug. +it's not worth worrying about working around these horrendous bugs. @node Special Shell Variables @section Special Shell Variables