posix compatible

This commit is contained in:
sejo 2022-01-08 13:18:11 -06:00
parent 084b06d2aa
commit c446784354
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ FNR==1 {
name = substr(id,filenamestart,RSTART-filenamestart)
nameout = epubodir indexdirname name ".xhtml"
sub(/#{1,3}\s+/,"", $0) # use first line as document title
sub(/#{1,3}[[:blank:]]+/,"", $0) # use first line as document title
m["title"] = $0
out = write_template("header.xhtml",m)
is_pre = 0