[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lilypond console output stdout/stderr
From: |
Johan Vromans |
Subject: |
Re: Lilypond console output stdout/stderr |
Date: |
Mon, 28 Dec 2015 08:14:19 +0100 |
On Mon, 28 Dec 2015 16:30:37 +1100
Andrew Bernard <address@hidden> wrote:
> Good question. A continual annoyance. You can’t pipe through less and so
> on, without redirecting shell file descriptors.
The GNU guidelines state (roughly): write to stdout what is asked for, and
to stderr what is not asked for.
$ foo --bar
Usage: foo [options] arg <-- stderr
$ foo --help
Usage: foo [options] arg <-- stdout
Given this line of reasoning, lilypond -dshow-available-fonts should write
the list to stdout.
-- Johan
http://johan.vromans.org/seasons_greetings.html