Paolo Bonzini wrote:
> On 08/26/2009 12:48 PM, Dave Korn wrote:
>> Dave Korn wrote:
>>
>>>> Also please single-quote the commands.
>>>
>>> Ok, why?
>>
>> BTW should I do that for all four of the patterns? And what about
>> $dirname
>> and $basename, and the couple of dozen other locations in ltmain.sh
>> that use
>> quoted sed scripts? (You didn't answer my question about "why" yet so
>> I can't
>> infer anything.)
>
> I don't like very much backslash sequences in double-quoted variables.
> It's portable, but somewhat unintuitive. But this is upstream code
> after all, so it's better to leave it alone. Sorry for the false alarm.
No problem, thanks for worrying about it. Are there any particular
recommendations about/against problematic separator characters in the 's'
command? I was going to use an '@'.
cheers,
DaveK