mt-polygon-simplification/thesis/generate-chapters.sh
2019-08-08 21:25:39 +02:00

3 lines
176 B
Bash
Executable File

# for i in $(ls chapters); do printf '\\input{chapters/%s}\n\\newpage\n\n' $i; done > chapters.tex
for i in ./chapters/*.tex; do printf '\\input{%s}\n' $i; done > chapters.tex