-
-
Save ababino/9307bde3e4a594acf8e5 to your computer and use it in GitHub Desktop.
bash utils
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
declare -a arr=('CB-5T-Mi-R-76243' | |
'CB-5T-Mi-R-37100' | |
'CB-5T-Mi-R-81762' | |
'CB-5T-Mi-R-24660'); | |
for i in ${arr[@]}; | |
do | |
echo $i; | |
pdflatex "\def\id{$i} \input{tarea.tex}" >> /dev/null; | |
lpr tarea.pdf | |
lpr ./09-conditional2/repartidor/repartidor0.pdf | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment