meplib / 00model / argsForVandermonde.sh @ master
Historique | Voir | Annoter | Télécharger (433 octet)
1 |
#! /bin/sh |
---|---|
2 |
# |
3 |
# argsForVndermonde.sh |
4 |
# |
5 |
# lower bound |
6 |
# upper bound |
7 |
# degree |
8 |
# |
9 |
# Main config file |
10 |
CONFIG_FILE=config.txt |
11 |
# |
12 |
# |
13 |
# Get the information |
14 |
LOWER_BOUND=`cat $CONFIG_FILE | awk '{if(FNR==1) print $3}'` |
15 |
UPPER_BOUND=`cat $CONFIG_FILE | awk '{if(FNR==1) print $4}'` |
16 |
DEGREE=`cat $CONFIG_FILE | awk '{if(FNR==1) print $5}'` |
17 |
# |
18 |
# Print the arguments list |
19 |
echo $DIGITS_FILE $CANDIDATES_FILE \"$LOWER_BOUND\" \"$UPPER_BOUND\" $DEGREE |
20 |
|