#!/bin/bash #set -x set -o posix #set -u #set -e #+ # # ========== # agrifpp.sh # ========== # # --------------------------- # Preform CPP pre-processing # --------------------------- # # SYNOPSIS # ======== # # :: # # $ agrifpp.sh # # # DESCRIPTION # =========== # # # Look after key agrif, if yes agrif2model is not yet pre-pocessed, otehrwise we use # standard cpp. # # EXAMPLES # ======== # # :: # # $ ./agrifpp.sh -Dkey # # # TODO # ==== # # option debug # # # EVOLUTIONS # ========== # # $Id: agrifpp.sh 2143 2010-10-04 12:49:55Z rblod $ # # # # * creation # #- MYFILE=`echo $* |awk -F" " '{print $NF}' ` FPP_OPT=` echo $* |awk '{ for (i=1 ; i