Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stop_on_script.sh « validation « training « tests - github.com/marian-nmt/marian-regression-tests.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c140ff965da4634001b051370e10b87aa4f2741a (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

prefix=stop_on_script

num=$(cat $prefix.temp 2>/dev/null || echo 1)
((num=(num+1)%6))
echo $num > $prefix.temp
((num=6-num))
echo 111.$num