Hey Calixte
what a great idea it made me think.
what about sed?

>>Or have a script/feature/tool that automatically counts measures : it
would
be able to put bar numbers in comment, and with another script we could say
delete/comment/whatever measure n to m

anyway I tried a few examples and used %1a %2a etc for measures and used
the bar check (|) as an end

eg.

 %1a

music |

%2a

music |

etc..


anyway using

sed -i '/%4a/,/|/d'  file1.ly

or multiple

sed -i '/%4a/,/|/d' file1.ly  file2.ly

worked almost every time, only problem I had was if I had to fix the octave.

nice idea
Stephen
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to