~grimmware/qsp

965cc92e88b59ddad50313bf53928069ff631d40 — Grimmware 1 year, 11 months ago 5693f6e front
Simulation numbering changes were incorrect
1 files changed, 7 insertions(+), 1 deletions(-)

M sim.rc -rw-r--r-- => -rwxr-xr-x
M sim.rc => sim.rc +7 -1
@@ 1,4 1,10 @@
#!/bin/rc
name=$1
if(~ $#name 0) { name=seph }
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
last=$name^'00001.db'
echo 'Starting from qsp:experiments/'$last
for(i in `{seq 1 20}) {
	next=$name^`{echo $i + 1 | bc | awk '{printf("%05d\n", $0)}'}^.db
	qsp/sim -i experiments/$last -o experiments/$next $2
	last=$next
}