[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Catching error messages
From: |
Han-Wen Nienhuys |
Subject: |
Re: Catching error messages |
Date: |
Mon, 12 Feb 2007 12:09:39 +0100 |
User-agent: |
Thunderbird 1.5.0.9 (X11/20070130) |
Cameron Horsburgh escreveu:
> On Sun, Feb 11, 2007 at 03:13:36PM -0800, Graham Percival wrote:
>> Cameron Horsburgh wrote:
>>> On Sun, Feb 11, 2007 at 11:40:45AM -0800, Graham Percival wrote:
>>>> Cameron Horsburgh wrote:
>>>>> I'd love to be able to specify a log file for either each file or the
>>>>> entire run. Does this exist? If not, does anyone have any idea how I
>>>>> might be able to do this?
>>>> for f in *.ly ; do lilypond $f > $f.log ; done;
>>>>
>>>> Something like that, at least.
>>>>
>>> Yeah, that's what I tried first. It seems the output is on stderr,
>>> not stdout.
>> http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html
>>
>> lilypond $f &> $f.log
>>
>
> Yeah, I eventually got that, or something pretty close. It can be pretty
> useful. I might write a page for the docs regarding batch processing.
> The main problem, of course, is that this is OS dependent.
>
> If I were to do that, where would be the best place to put it? Two
> places come to mind -- first, 4.1.3 might be expanded to suggest using
don't; -dlog-file=foo is the recommended method. -dseparate-log-files if
you need multiple logs.
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com
- Catching error messages, Cameron Horsburgh, 2007/02/11
- Re: Catching error messages, Geoff Horton, 2007/02/11
- Re: Catching error messages, Graham Percival, 2007/02/11
- Re: Catching error messages, Cameron Horsburgh, 2007/02/11
- Re: Catching error messages, Graham Percival, 2007/02/11
- Re: Catching error messages, Cameron Horsburgh, 2007/02/11
- Re: Catching error messages, Graham Percival, 2007/02/12
- Re: Catching error messages,
Han-Wen Nienhuys <=
- Re: Catching error messages, Cameron Horsburgh, 2007/02/14
- Re: Catching error messages, Han-Wen Nienhuys, 2007/02/14
- Re: Catching error messages, Cameron Horsburgh, 2007/02/14
- Re: Catching error messages, Graham Percival, 2007/02/14