Re: Executable options style question
Thanks Hans! JM > Le 11 juil. 2019 à 18:01, Hans Åberg a écrit : > > >> On 11 Jul 2019, at 09:32, Jacques Menu wrote: >> >> I’ve wondering about command line options with multiple values. >> >> Which one of the following in preferable in your opinion: >> >> DESSUS="Cor anglais" >> xml2ly -msr-part-rename "P1 = ${DESSUS}" >> >> or: >> >> DESSUS="Cor anglais" >> xml2ly -msr-part-rename P1 "${DESSUS}” > > POSIX, Guideline 8 [1] says that they should be presented as a single > argument to the option, separated with comma or blanks within that argument. > GNU [2] does not mention that explicitly. > > 1. https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html > 2. https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html > > ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Executable options style question
> On 11 Jul 2019, at 09:32, Jacques Menu wrote: > > I’ve wondering about command line options with multiple values. > > Which one of the following in preferable in your opinion: > > DESSUS="Cor anglais" > xml2ly -msr-part-rename "P1 = ${DESSUS}" > > or: > > DESSUS="Cor anglais" > xml2ly -msr-part-rename P1 "${DESSUS}” POSIX, Guideline 8 [1] says that they should be presented as a single argument to the option, separated with comma or blanks within that argument. GNU [2] does not mention that explicitly. 1. https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html 2. https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel
Executable options style question
Hello folks, I’ve wondering about command line options with multiple values. Which one of the following in preferable in your opinion: DESSUS="Cor anglais" xml2ly -msr-part-rename "P1 = ${DESSUS}" or: DESSUS="Cor anglais" xml2ly -msr-part-rename P1 "${DESSUS}" Thanks for your advice! JM ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel