* config/general.m4sh (sed_double_backslash): Undo an

over-optimisation.
This commit is contained in:
Gary V. Vaughan 2004-10-22 07:58:24 +00:00
parent 8d2d20248a
commit 6b55376125
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-10-22 Gary V. Vaughan <gary@gnu.org>
* config/general.m4sh (sed_double_backslash): Undo an
over-optimisation.
2004-10-21 Gary V. Vaughan <gary@gnu.org>
* AUTHORS: Reformatted to better reflect the current state of

View File

@ -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