lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do we really offer the future?


From: Stephen MacNeil
Subject: Re: Do we really offer the future?
Date: Wed, 22 Apr 2015 20:26:48 -0400

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]