[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lilypond-auto] Issue 2476 in lilypond: using blanks in -doptions va
From: |
lilypond |
Subject: |
Re: [Lilypond-auto] Issue 2476 in lilypond: using blanks in -doptions values |
Date: |
Sun, 15 Apr 2012 00:53:50 +0000 |
Comment #2 on issue 2476 by address@hidden: using blanks in -doptions
values
http://code.google.com/p/lilypond/issues/detail?id=2476
quoting with single quotes does not work under windows.
using
lilypond "-dinclude-settings="""myInit 2.ly"""" test.ly
lilypond -d"include-settings="""myInit 2.ly"""" test.ly
lilypond -dinclude-settings=""""myInit 2.ly"""" test.ly
all work - I'm not going to explain why.
I'm not sure if there are other combinations that work.
similarly
lilypond -d"paper-size="""a4"""" test.ly
lilypond -dpaper-size=""""a4"""" test.ly
work as well as the escaping version
lilypond -dpaper-size=\"a4\" test.ly
in Windows there are many situations where it's not clear which escape
character is needed (\ or ^ has never been clearly documented by Microsoft)
- that's why I think a "simple" but always working solution should be
preferred!
and for the question where the blanks may occur - in the path or in the
file name - the answer is yes, for both.
of course, different OSs allow different solutions, but I don't think it's
LilyPond's task to show them all.
yes and the 3 quotes are quite usual in many languages, because using only
2 would yield a blank string with a string following and another blank
string would close it. using 3 quotes would make the quoted quote a
surviving quote and so on …
that's why I'm only asking for this little note to be added! (if this works
in all OSs)
please feel free to add more explanations