[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More PDF metadata
From: |
Henning Hraban Ramm |
Subject: |
Re: More PDF metadata |
Date: |
Mon, 30 Aug 2010 21:12:40 +0200 |
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)