File: run.sh

package info (click to toggle)
libosl 0.8.0-4.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,328 kB
  • sloc: cpp: 114,345; ruby: 1,290; ansic: 915; makefile: 431; perl: 309; sh: 35
file content (9 lines) | stat: -rwxr-xr-x 306 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
#! /bin/sh 

BASE=/opt/gps/$USER/gpsshogi-nodist/data/problems
name=test1
for problem in tesuji/1 tesuji/2 rakuraku/1 rakuraku/2 amateur/1 100/1 100/3 100/2 100/4 kakoi seme-uke; do
  dir=$BASE/$problem
  problem_name=`echo $problem | sed -e 's!/!-!g'`
  $HOME/run.rb $dir > $HOME/$name-$problem_name
done