Am 2010-08-30 um 20:40 schrieb Henning Hraban Ramm:

sed -n -e 's/^[[:blank:]]*title.* \"\(.*\)\"\s*$/InfoValue: \1/p' $1.ly >> $1_pdfinfo.txt

FAIL!
sed chokes on UTF-8
\s at the end is from the wrong regex syntax (PCRE, I guess)

This works:

sed -n -e 's/^[[:blank:]]*title[[:blank:]=]*\"\(.*\)\"[[:blank:]]*$/ InfoValue: \1/p'


Greetlings from Lake Constance
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
https://www.cacert.org (I'm an assurer)



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to