Révision 4 utils/AnaPathrel

AnaPathrel (revision 4)
1 1
#!/bin/bash
2
if [ $# -lt 4 ]; then
3
 echo "Use: $0 File.out MaxCyc PathName NGeomF"
2
if [ $# -lt 1 ]; then
3
 echo "Use: $0 File.out"
4 4
 exit
5 5
fi
6 6

  
7 7
Fout=$1
8
ItMax=$2
9
Nom=$3
10
NGeomF=$4
8
ItMax=`grep MAXCYC $Fout | tail -1 | awk '{print $3}'`
9
Nom=`grep PATHNAME $Fout | tail -1 | awk '{print $3}'`
10
NGeomF=`grep NGEOMF $Fout | tail -1 | awk '{print $3}'`
11 11

  
12

  
12 13
export LANG=C
13 14

  
14 15
echo "#ItMax=$ItMax"

Formats disponibles : Unified diff