pandoc-cl/devis/compile.sh

16 lines
250 B
Bash
Raw Normal View History

#!/bin/bash
echo "from format: ${1}"
echo "metadata file : ${2}"
echo "output to : ${4}"
echo "file: ${3}"
pandoc \
--template content.xml \
--data-dir . \
--from "${1}" \
--to odt \
--metadata-file "${2}"
-o "${4}" \
"${3}"