From 1c7c3e42ac8ec89bb9f714f99b2b4a27a3a14098 Mon Sep 17 00:00:00 2001 From: Trevor Daniels Date: Fri, 13 Aug 2010 10:55:32 +0100 Subject: [PATCH] Docs: AU: document shell redirects - thanks, Eluze, Graham --- Documentation/usage/running.itely | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Documentation/usage/running.itely b/Documentation/usage/running.itely index 263a7e8c9b..5f0945c725 100644 --- a/Documentation/usage/running.itely +++ b/Documentation/usage/running.itely @@ -97,6 +97,30 @@ will output @var{base}@file{-violin.pdf} and @var{base}@file{-cello-1.pdf}. +@unnumberedsubsubsec Standard shell commands + +If your shell (i.e. command window) supports normal redirects, +then you might find it useful to use the following commands to +redirect console output to a file: + +@itemize + +@item +@code{lilypond file.ly 1>stdout.log} to redirect normal output + +@item +@code{lilypond file.ly 2>stderr.log} to redirect error messages + +@item +@code{lilypond file.ly &>all.log} to redirect all output + +@end itemize + +Consult the documentation for your shell to see if it supports these +options, or if the syntax is different. Note that these are shell +commands and have nothing to do with lilypond. + + @node Command line options for lilypond @unnumberedsubsec Command line options for @command{lilypond} @@ -536,6 +560,7 @@ for i in "$lilydir/usr/bin/lilypond" "$lilydir/usr/bin/guile" "/bin/sh" "/bin/rm /$lilyprefix/bin/lilypond -jlily,lily,/mnt/lilyloop,/lilyhome test.ly @end example +@c " keep quote signs balanced for context-sensitive editors @node Error messages @section Error messages -- 2.39.5