make redo output cleaner

Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
Christine Dodrill 2021-04-23 15:42:38 -04:00
parent 559605a024
commit f1069eb1db
2 changed files with 2 additions and 2 deletions

View File

@ -2,4 +2,4 @@ exec >&2
redo-ifchange ./out/$2.epub redo-ifchange ./out/$2.epub
ebook-convert ./out/$2.epub ./out/$2.mobi ebook-convert ./out/$2.epub ./out/$2.mobi >/dev/null

View File

@ -25,6 +25,6 @@ wordcount = {
function Pandoc(el) function Pandoc(el)
-- skip metadata, just count body: -- skip metadata, just count body:
pandoc.walk_block(pandoc.Div(el.blocks), wordcount) pandoc.walk_block(pandoc.Div(el.blocks), wordcount)
print(words .. " words in body") print(" " .. words .. " words in body")
os.exit(0) os.exit(0)
end end