On Thu 17 Mar 2011, 12:19 Federico Bruni wrote: > Hi LilyPonders, Hi! > in Usage 1.2: > > "When invoked with a filename that has no extension, the ‘.ly’ extension > is tried first. To read input from stdin, use a dash (-) for file." > > I wonder what's the use of stdin. Can you show a use case? > > I'm translating the Usage manual so I want to be sure that I've > understood it correctly. I guess that the dash **replaces** the file, so > the command is: > > lilypond - cat test.ly | lilypond -o TEST -
for instance. You'll get "TEST.pdf" here. Without "-o TEST" it produces "-.pdf" actually. Probably, i would like it do make "stdin.pdf" really, by the way. Don't know whether it's better .) > > BTW, I think that in the following sentence: > > "When ‘filename.ly’ is processed it will produce ‘filename.ps’ and > ‘filename.pdf’ as output." > > ‘filename.ps’ should be removed (or at least you should say that .ps > file will be converted to .pdf and then deleted), otherwise new users > might wonder where the .ps file has gone. -- Dmytro O. Redchuk Bug Squad _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user