At 16:20 on 20 Jun 2012, James Harkins wrote:
>I just encountered something curious while trying to get a list of
>fonts on my machine from lilypond. According to the documentation of
>font selection:
>
>lilypond -dshow-available-fonts x
>
>This does indeed list of fonts, but the terminal doesn't keep enough
>lines to see the entire list. So I thought, the UNIX command line
>stdout redirect should help:
>
>lilypond -dshow-available-fonts x
>>/home/dlm/Documents/ly/show-available-fonts.txt
>
>But the output was not redirected. It still went to the terminal
>window and the new file is empty.

Output is to stderr, so:

lilypond -dshow-available-fonts x 2> show-available-fonts.txt

should do the trick.

-- 
Mark Knoop

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to