James E. Bailey wrote: > Maybe I don't understand what role the 2 has in this. But it really > doesn't work for me 2 is stderr. (0 is stdin, 1 is stdout) > > bash-3.2$ lilypond test1.ly 2 > err.txt There is no space between the "2" and the ">" . > GNU LilyPond 2.11.47 »test1.ly« wird verarbeitet Analysieren... > test1.ly:1:4: Fehler: syntax error, unexpected DIGIT {c2 2. d3} > test1.ly:1:8: Fehler: keine gültige Dauer: 3 {c2 2. d 3} > test1.ly:1:0: Fehler: Fehler gefunden, musikalischer Ausdruck wird > ignoriert > > {c2 2. d3} test1.ly:0: Warnung: : keine \version-Anweisung > gefunden, > > \version "2.11.47" > > für zukünftige Kompatibilität hinzufügen Warnung: Datei »2« kann > nicht gefunden werden Fehler: gescheiterte Dateien: "2 test1.ly" > > Or am I trying to do the wrong sort of thing? What you were doing was processing two files, one called "test1.ly" and the other called "2" and then redirecting stdout to the file.
2> (without a space) redirects stderr to a file. The error above is that you have a 2. duration with no associated pitch. HTH Paul _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user