hsweet wrote:
Search/Replace in an editor is fine for one or 2 files. + I never remember
regex syntax so this way it's written down : ) +I just wanted to avoid
having to do this manually for >50 files. This does them all at once. 50 or
500.
i find sed handy for this kind of batch text mani
s:\\date:\\italic{ \"Sheet $cnt |
> Updated \" \\date } :;
>
> $line=~s:\\midi { }:$midistring:;
>
>
> print OUT $line;
>
> }
>
> This is the whole program. http://old.nabble.com/
Excerpts from hsweet's message of Mon Dec 20 02:05:06 +0100 2010:
> I had a bunch of band charts I needed to update.
Let me remind you that editors such as Vim or jedit have macro
recording.
Depending on the task this can be even faster if you use the editors
search/ grep features and then the mac
essage in context:
http://old.nabble.com/A-quick-way-to-change-50-lilypond-files-tp30495491p30495491.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user