Statistiques
| Branche: | Révision :

meplib / 00model / argsForZeroPoints.sh @ master

Historique | Voir | Annoter | Télécharger (511 octet)

1
#! /bin/sh
2
#
3
# argsForZeroPoints.sh
4
#
5
# function
6
# lower bound
7
# upper bound
8
# degree
9
# Main config file
10
CONFIG_FILE=config.txt
11
#
12
# Get the information
13
FUNCTION=`cat $CONFIG_FILE | awk '{if(FNR==1)  print $1}'`
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
# Print the arguments list
18
echo $DIGITS_FILE $CANDIDATES_FILE \"$FUNCTION\" \"$LOWER_BOUND\" \"$UPPER_BOUND\" $DEGREE
19