crooks

combinatorial rooks
git clone https://a3nm.net/git/crooks/
Log | Files | Refs

commit b7671981f7b4d3ce12892851ae7d2354b03261de
parent 6aabf972e5ce0af3fefab10f7e60ce54a4b6b3b3
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sat,  7 Jun 2014 20:07:33 +0200

separate extract

Diffstat:
extract.sh | 7+++++++
parallel.sh | 5-----
2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/extract.sh b/extract.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +for a in `seq 2 $1` +do + echo -n "$a " + grep DONE tmp/out$a | cut -d ' ' -f3 | tail -1 +done diff --git a/parallel.sh b/parallel.sh @@ -5,8 +5,3 @@ do ./run.sh $a $2 & done wait -for a in `seq 2 $1` -do - echo -n "$a " - grep DONE tmp/out$a | cut -d ' ' -f3 | tail -1 -done