for l in 1 2 3 4 5; do
gh
- cura -s $lhs$l,$f.auto.stl -o $g
+ cura -i quacks.ini -s $lhs$l,$f.auto.stl -o $g
case $l in
1|2|3|4)
perl -i~ -pe 's/^/;/ if m/^M140 S0\b.*\n/' $g
gh
cp $g $h
done
+sleep 0.5
umount /media/sd
mount /media/sd
cmp $g $h
ls -l $h
done
+sleep 0.5
umount /media/sd