From 6b55376125c16b275d538a1de790a208c79b9066 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Fri, 22 Oct 2004 07:58:24 +0000 Subject: [PATCH] * config/general.m4sh (sed_double_backslash): Undo an over-optimisation. --- ChangeLog | 5 +++++ config/general.m4sh | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5e85a9b2..8e00ce1f 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 af88d384..c0050071 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