* Eric Blake wrote on Sat, Feb 24, 2007 at 02:58:27PM CET:
> According to Ralf Wildenhues on 2/8/2007 2:32 PM:
[...]
> > | sed_double_backslash='s/^\(\(''\\\\''\\\\''\)*''\\\\''\)\$/\1\\$/;
> > |                 s/\([[^\\]]\(''\\\\''\\\\''\)*''\\\\''\)\$/\1\\$/g'
> > 
> > (note the doubled [[]] due to M4 quoting).
> 
> Resurrecting an old thread for a somewhat unrelated question, is there any
> reason you can't use a style with the scope of m4 double-quoting widened,
> so that shell code is then copy-n-pastable, as recommended by Bruno
> Haible?

No, there is no reason other than: it's work for me to write and test
such a patch.  If you want to submit one, go ahead.  Since it doesn't
fix a bug or a regression or is otherwise very important, I'm going to
reject it before 2.0 though.

> As in:
> 
> | [[

You meant to only put one [ here, no?  Because otherwise that would be
too much here.  See what I mean?  ;-)

[...]
> | sed_double_backslash='s/^\(\(''\\\\''\\\\''\)*''\\\\''\)\$/\1\\$/;
> |                 s/\([^\\]\(''\\\\''\\\\''\)*''\\\\''\)\$/\1\\$/g'
> | ]]


Reply via email to