Enable loop.sh commands
This commit is contained in:
parent
4ff45e8535
commit
ce27470a87
8
loop.sh
8
loop.sh
|
@ -17,13 +17,13 @@ for svg in "${1}"*.svg ; do
|
||||||
name=`echo "${filename}" | cut -d'.' -f1`
|
name=`echo "${filename}" | cut -d'.' -f1`
|
||||||
num=`echo "${name}" | awk -F'_' '{print $(NF)}'`
|
num=`echo "${name}" | awk -F'_' '{print $(NF)}'`
|
||||||
echo "Drawing $svg file..."
|
echo "Drawing $svg file..."
|
||||||
#bash position.sh set
|
bash position.sh set
|
||||||
#ax guides/guide_marks.svg
|
ax guides/guide_marks.svg
|
||||||
number=`mktemp`.svg
|
number=`mktemp`.svg
|
||||||
node ./numbers/ -n "${num}" -o "${number}"
|
node ./numbers/ -n "${num}" -o "${number}"
|
||||||
#ax "${number}"
|
ax "${number}"
|
||||||
rm -f "${number}"
|
rm -f "${number}"
|
||||||
#bash position.sh reset
|
bash position.sh reset
|
||||||
echo "Are you ready to continue? (yes/no)"
|
echo "Are you ready to continue? (yes/no)"
|
||||||
read input
|
read input
|
||||||
if [ "$input" != "n" ] && [ "$input" != "no" ]
|
if [ "$input" != "n" ] && [ "$input" != "no" ]
|
||||||
|
|
Loading…
Reference in New Issue