posix compatible
This commit is contained in:
parent
084b06d2aa
commit
c446784354
2
g2e.awk
2
g2e.awk
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue