[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: invoking stdin: a use case?
From: |
Dmytro O. Redchuk |
Subject: |
Re: invoking stdin: a use case? |
Date: |
Thu, 17 Mar 2011 13:28:09 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
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