~grimmware/qsp

5693f6ebd0e253ead3b6a63cd6c446ab5bd0fb45 — Grimmware 1 year, 4 months ago 8823346
Made so that numbers for sim.rc are left-padded so animations will come out in the right order
1 files changed, 1 insertions(+), 1 deletions(-)

M sim.rc
M sim.rc => sim.rc +1 -1
@@ 1,4 1,4 @@
#!/bin/rc
name=$1
if(~ $#name 0) { name=seph }
for(i in `{seq 1 60}) qsp/sim -i experiments/$name^$i^.db -o experiments/$name^`{echo $i + 1 | bc}^.db $2
for(i in `{seq 1 20}) qsp/sim -i experiments/$name^$i^.db -o experiments/$name^`{echo $i + 1 | bc | awk '{printf("%05d\n", $0)}'}^.db $2