libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HEAD: func_quote_for_expand and Solaris 2.6 /bin/sed


From: Ralf Wildenhues
Subject: Re: HEAD: func_quote_for_expand and Solaris 2.6 /bin/sed
Date: Sat, 24 Feb 2007 15:19:55 +0100
User-agent: Mutt/1.5.13 (2007-02-12)

* 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

[Prev in Thread] Current Thread [Next in Thread]