[Developers] quoting in par-file strings

Thomas Radke tradke at aei.mpg.de
Fri Jun 3 11:08:23 CDT 2005


Jonathan Thornburg wrote:
> Hi, Tom,
> 
>> What is the advantage of having two different delimiters ?
> 
> 
> It allows the following cases to avoid needing any explicit quoting:
>   Thorn::blah = "this isn't so bad"
>   Thorn::quux = 'I like "double quotes", do you?'

Jonathan, didn't you also tell me that the second example isn't just 
hypothetic ? There seem to exist parfiles which already use single 
quotes (because Cactus didn't prevent this in the first place).

So, in order to maintain backwards compatibility, we'd need both choices.


-- 
Cheers, Thomas.



More information about the Developers mailing list