ref: 6c20946d1b654f2062d34c47765ddf3ace3e597b
parent: f3cb4b36831e141994b9508139f6c2e4d69ebbe6
author: sirjofri <sirjofri@sirjofri.de>
date: Wed Dec 17 04:52:49 EST 2025
fixes pdfmark - include author from lib/author - escapes () in subject line - changes length of subject line to include the whole line
--- a/bin/genpdfmark
+++ b/bin/genpdfmark
@@ -10,9 +10,12 @@
dt=`{date -u -f 'YYYYMMDDhhmmss+00''00''' $dt}# read subject line
-subject=`{cat /tmp/pre.tmp /tmp/msg.tmp | tbl | nroff -ms | sed '/^$/d' | sed 1q}+subject=`{cat <{echo '.ll 9999999'} /tmp/pre.tmp /tmp/msg.tmp | tbl | nroff -ms | sed '/^$/d' | sed 1q | sed 's/\(/\\(/g;s/\)/\\)/g'}-echo '[ /Author (Joel Fridolin Meyer)'
+# read author
+author=`{cat lib/author}+
+echo '[ /Author ('^$"author^')' echo ' /Subject ('^$"subject^')'echo ' /CreationDate (D:'^$dt^')'
echo ' /ModDate (D:'^$dt^')'
--- /dev/null
+++ b/lib/author
@@ -1,0 +1,1 @@
+My Author
--
⑨