Rob Canning wrote:
Jonathan Kulp wrote:
Rob Canning wrote:
first thing i would like to do is insert some additional stuff one
line under the 'version "2.10" line.
Ah. I overlooked this part. The script I put in the other email
won't put the text in the right place like you want. I guess your
"dirty" solution is better :)
Jon
hi jon,
this is the clean way... a friend on irc just helped me clean up my life :)
sed -e"/version/r $2" $1
Awesome! That works perfectly! It's certainly easier on the eyes... ;-)
i really need to learn sed properly
its a really powerfull way of editing lilypond scores
Me too. Right now I'm working on big projects that use LaTeX and BibTex
and only do scripting if there's a particular task I'm trying to solve.
I could definitely use some sed skills now and then...
I'm saving this script for use in other contexts later. Thanks for
sharing :)
Jon
--
Jonathan Kulp
http://www.jonathankulp.com
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user