Skip to content

Commit

Permalink
capture stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcarlisle committed Jan 5, 2025
1 parent fb01b5b commit 3c9b777
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project-examples/scripts/mkxml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
for i in *.pdf
do
echo $i
texlua ../../../../davidcarlisle/show_pdf_tags/show_pdf_tags.lua --xml "$i" > "${i/.pdf/.xml}"
texlua ../../../../davidcarlisle/show_pdf_tags/show_pdf_tags.lua --xml "$i" > "${i/.pdf/.xml}" 2>"${i/.pdf/xml.log}"
done

for i in *.pdf
do
echo "--map $i"
texlua ../../../../davidcarlisle/show_pdf_tags/show_pdf_tags.lua --xml --map "$i" > "${i/.pdf/map.xml}"
texlua ../../../../davidcarlisle/show_pdf_tags/show_pdf_tags.lua --xml --map "$i" > "${i/.pdf/map.xml}" 2> "${i/.pdf/mapxml.log}"
done

0 comments on commit 3c9b777

Please sign in to comment.