bug-lilypond
[Top][All Lists]
Advanced

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

Re: lilypond -dread-file-list "read-file-list.txt" (without "=")compiles


From: Eluze
Subject: Re: lilypond -dread-file-list "read-file-list.txt" (without "=")compiles only the last file of the listof
Date: Tue, 21 Aug 2012 22:54:56 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0

I opened a run window with cmd /s /k and run the command

>lilypond -dread-file-list filesToRun.lst

and get

GNU LilyPond 2.15.95
'arning: cannot find file: `opus X.ly
'arning: cannot find file: `opus X_1st.ly
'arning: cannot find file: `opus X_1st_Guit1.ly
'arning: cannot find file: `opus X_1st_Guit2.ly
…
if I have a CRLF line ending file.

with just LF it works fine

Eluze



Am 21.08.2012 17:00, schrieb Phil Holmes:
"Colin Hall" <address@hidden> wrote in message news:address@hidden
On Tue, Aug 21, 2012 at 06:58:14AM -0700, Eluze wrote:

Colin Hall-3 wrote
>
>
> I tried creating the "read-file-list.txt" file on Linux and then
> copying it over to Windows and it works just fine.
>
> I suspect the only reason it processes the last file is because there
> is no blank line at the end of your "read-file-list.txt" and Lilypond
> manages to detect the last line as a filename.
>
>> maybe an incorrect entry? a bug under windows?
>
> I would say it is a bug, and here is the tracker.
>
>

I can confirm it works with Linux line endings - but how would one create such lists automatically - they are most often created by a program - with
the "correct" ending (under Windows)?

Yes, that's the point that David Kastrup was making on the other thread.

On Windows it should work with Windows line endings. I'm sure the fix
for the tracker will do that, especially as Phil seems to have
identified a possible fix already.

Cheers,
Colin.


If Eluze hand-modifies his own lily.scm using the syntax I've suggested, it should work for him with Windows line endings.





reply via email to

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