From: Gary V. Vaughan Date: Fri, 22 Oct 2004 08:15:29 +0000 (+0000) Subject: * config/general.m4sh (sed_double_backslash): Undo an X-Git-Tag: release-1-9f~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1202bb595ddb3f4d6f858260756015d1b43919e;p=thirdparty%2Flibtool.git * config/general.m4sh (sed_double_backslash): Undo an over-optimisation. --- diff --git a/ChangeLog b/ChangeLog index 48b5af0eb..f8d3824ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-10-22 Gary V. Vaughan + + * config/general.m4sh (sed_double_backslash): Undo an + over-optimisation. + 2004-10-21 Gary V. Vaughan * AUTHORS: Reformatted to better reflect the current state of diff --git a/config/general.m4sh b/config/general.m4sh index af88d3845..c00500719 100644 --- a/config/general.m4sh +++ b/config/general.m4sh @@ -100,8 +100,8 @@ double_quote_subst='s/\([["`\\]]\)/\\\1/g' # Since each input `\' is now two `\'s, look for any number of runs of # four `\'s followed by two `\'s and then a '$'. `\' that '$'. Note # that the embedded single quotes serve only to enhance readability. -sed_double_backslash='s/^\(\(''\\\\''\\\\''\)*''\\\\''\$\)/\\\1/; - s/\([[^\\]]\(''\\\\''\\\\''\)*''\\\\''\$\)/\\\1/g' +sed_double_backslash='s/^\(\(''\\\\''\\\\''\)*''\\\\''\)\$/\1\\$/; + s/\([[^\\]]\(''\\\\''\\\\''\)*''\\\\''\)\$/\1\\$/g' # test EBCDIC or ASCII case `$ECHO A|tr A '\301'` in