Mike: 0173 140 57 > On Sun, Sep 25, 2011 at 6:34 AM, Dmytro O. Redchuk > <brownian....@gmail.com> wrote: > > On Sat 24 Sep 2011, 23:52 Michael Ellis wrote: > >> On Sat, Sep 24, 2011 at 4:28 PM, Graham Percival > >> > or m4 or python, I'd do this: > >> > # mylily.sh > >> > cp $1 /tmp > >> > sed '...' /tmp/$1 > /tmp/$1-processed.ly > >> > lilypond /tmp/$1-processed.ly > >> > mv /tmp/$1-processed.ly . > > Often it can be done with something like this (within bash script; > > windows equivalent is also quite possible): > > > > sed '...' < $1 | lilypond -o ${1%%.ly} - ... > But I think the larger question is whether future versions of Lily > should support some form of text macro. ...
One does not really want macros nor preprocessors, since it munges up error reporting. Regards, /Karl Hammar ----------------------------------------------------------------------- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user