Changeset 1423


Ignore:
Timestamp:
02/07/18 14:28:49 (6 years ago)
Author:
jgipsl
Message:

Added -w to be allow variables with same base for example co2_ppm and co2_ppm_per.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_comp/libIGCM_comp.ksh

    r1422 r1423  
    12511251      # Case to set DEFAULT value 
    12521252      # Read default value from filein 
    1253       value=$( grep ${key} ${filein} | grep -v "\#" | awk  -F"DEFAULT *=" '{print $2}') 
     1253      value=$( grep -w ${key} ${filein} | grep -v "\#" | awk  -F"DEFAULT *=" '{print $2}') 
    12541254 
    12551255      if [ X"${value}" = X ] ; then 
Note: See TracChangeset for help on using the changeset viewer.