aboutsummaryrefslogtreecommitdiffstats
path: root/moon-abe/pbc-0.5.14/gen/genalldparams
blob: 22cfa993372683d17d94b7d30e3fece814d72c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
# Generates all type D curve parameters within certain limits
#
# Use with the output of listmnt

function myfunc {
    until [ -z "$1" ]
    do
	filename=d$1-$2-$3.param
	gen/gendparam $1 > $filename
	shift 3
    done
}

myfunc `awk -F, '{ if (($2 >= 80) && ($2 <= 300) && ($3 >= 80)) { print $1 $2 $3; } }'`